Documentation of 'org.apache.commons.compress.utils.Sets' Java class
Sets
org.apache.commons.compress.utils

Class Sets



  • public class Sets
    extends java.lang.Object
    Set utilities
    Since:
    1.13
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static <E> java.util.HashSet<E> newHashSet(E... elements)
      Creates a new HashSet filled with the given elements
      • Methods inherited from class java.lang.Object

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

      • newHashSet

        @SafeVarargs
        public static <E> java.util.HashSet<E> newHashSet(E... elements)
        Creates a new HashSet filled with the given elements
        Type Parameters:
        E - type of elements contained in new set
        Parameters:
        elements - the elements to fill the new set
        Returns:
        A new HasSet

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.