Class ListUtilities


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

      Constructors 
      Constructor Description
      ListUtilities()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <I> java.util.List<I> concat​(java.lang.Iterable<I>... values)  
      static <I,​O,​E extends java.lang.Exception>
      java.util.List<O>
      convert​(java.lang.Iterable<I> values, IConverter<I,​O,​E> converter)  
      static boolean equals​(java.util.List<?> objects, java.util.List<?> others)  
      static <T> java.util.List<T> filter​(java.lang.Iterable<T> values, IAcceptor<T> validator)  
      static <T> java.util.List<T> getContainsNot​(java.util.List<T> list, java.lang.Iterable<T> other)  
      static <T> int[] indices​(java.util.List<T> list, java.lang.Iterable<T> values, IEqualComperator<T> comperator)  
      static <T> java.util.List<T> normalize​(java.lang.Iterable<T> iterable)  
      • Methods inherited from class java.lang.Object

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

      • ListUtilities

        public ListUtilities()
    • Method Detail

      • normalize

        public static <T> java.util.List<T> normalize​(java.lang.Iterable<T> iterable)
      • getContainsNot

        public static <T> java.util.List<T> getContainsNot​(java.util.List<T> list,
                                                           java.lang.Iterable<T> other)
      • equals

        public static boolean equals​(java.util.List<?> objects,
                                     java.util.List<?> others)
      • filter

        public static <T> java.util.List<T> filter​(java.lang.Iterable<T> values,
                                                   IAcceptor<T> validator)
      • indices

        public static <T> int[] indices​(java.util.List<T> list,
                                        java.lang.Iterable<T> values,
                                        IEqualComperator<T> comperator)
      • convert

        public static <I,​O,​E extends java.lang.Exception> java.util.List<O> convert​(java.lang.Iterable<I> values,
                                                                                                IConverter<I,​O,​E> converter)
                                                                                         throws E extends java.lang.Exception
        Throws:
        E extends java.lang.Exception
      • concat

        public static <I> java.util.List<I> concat​(java.lang.Iterable<I>... values)