Class RandomUtil


  • public class RandomUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      RandomUtil()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <E> E getRandom​(java.util.List<E> collection)  
      • Methods inherited from class java.lang.Object

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

      • RandomUtil

        public RandomUtil()
    • Method Detail

      • getRandom

        public <E> E getRandom​(java.util.List<E> collection)