Class Collections


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

      Constructors 
      Constructor Description
      Collections()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> boolean addAll​(java.util.Collection<? super T> c, T... elements)  
      static <T> boolean removeIf​(java.util.Collection<T> c, java.util.function.Predicate<T> filter)  
      • Methods inherited from class java.lang.Object

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

      • Collections

        public Collections()
    • Method Detail

      • addAll

        @SafeVarargs
        public static <T> boolean addAll​(java.util.Collection<? super T> c,
                                         T... elements)
      • removeIf

        public static <T> boolean removeIf​(java.util.Collection<T> c,
                                           java.util.function.Predicate<T> filter)