Class CollectionsUtil

    • Constructor Summary

      Constructors 
      Constructor Description
      CollectionsUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> T getRandomFrom​(java.util.Set<T> set, java.util.Random random)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getRandomFrom

        public static <T> T getRandomFrom​(java.util.Set<T> set,
                                          java.util.Random random)