java.lang.Object
com.aoapps.collections.Sets
General-purpose utilities for working with
Set
.- Author:
- AO Industries, Inc.
-
Method Details
-
union
Combines two sets, maintaining order.- Parameters:
set1
- may benull
, which will be treated same as an empty setset2
- may benull
, which will be treated same as an empty set- See Also:
-
union
Combines multiple sets, maintaining order.- Parameters:
sets
- may benull
, which will be treated same as an empty array. Elements may benull
, which will be treated same as an empty set.- See Also:
-
union
Combines a set with some new elements, maintaining order.- Parameters:
set
- may benull
, which will be treated same as an empty setelements
- may benull
, which will be treated same as an empty array- See Also:
-