Class Sets
java.lang.Object
org.apache.commons.compress.utils.Sets
Set utilities
- Since:
- 1.13
-
Method Summary
Modifier and TypeMethodDescriptionstatic <E> HashSet<E>
newHashSet
(E... elements) Creates a new HashSet filled with the given elements
-
Method Details
-
newHashSet
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
-