Class CollectionUtil


  • public class CollectionUtil
    extends java.lang.Object
    Herts collection utility
    • Constructor Summary

      Constructors 
      Constructor Description
      CollectionUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> java.util.Set<T> findDuplicates​(java.util.List<T> list)
      Find duplicate entry.
      • Methods inherited from class java.lang.Object

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

      • CollectionUtil

        public CollectionUtil()
    • Method Detail

      • findDuplicates

        public static <T> java.util.Set<T> findDuplicates​(java.util.List<T> list)
        Find duplicate entry.
        Type Parameters:
        T - Generics
        Parameters:
        list - List collection
        Returns:
        Set collection