Package | Description |
---|---|
com.opencloud.util |
Defines utility classes that are common to more than one OpenCloud product.
|
Modifier and Type | Method and Description |
---|---|
IntSet |
IntSet.addAll(int[] vals)
Add an array of values to the set.
|
IntSet |
IntSet.clone()
Performs a deep copy of the set.
|
static IntSet |
IntSet.complement(IntSet superset,
IntSet subset)
Return a new set that is the complement of a subset within a superset.
|
static IntSet |
IntSet.copyOf(int[] from)
Construct a new set that contains the given values.
|
static IntSet |
IntSet.copyOf(Set<Integer> fromSet)
Construct a new set that contains a copy of the values in the given set.
|
static IntSet |
IntSet.emptySet()
Construct a new empty set.
|
static IntSet |
IntSet.intersection(IntSet setA,
IntSet setB)
Return a new set that is the intersection of two other sets.
|
static IntSet |
IntSet.of(int... values)
Construct a set with the given values.
|
IntSet |
IntSet.removeAll(int[] vals)
Remove an array of values to the set.
|
static IntSet |
IntSet.union(IntSet setA,
IntSet setB)
Return a new set that is the union of two other sets.
|
Modifier and Type | Method and Description |
---|---|
static IntSet |
IntSet.complement(IntSet superset,
IntSet subset)
Return a new set that is the complement of a subset within a superset.
|
static IntSet |
IntSet.intersection(IntSet setA,
IntSet setB)
Return a new set that is the intersection of two other sets.
|
boolean |
IntSet.isSubsetOf(IntSet superset)
Determines whether this IntSet is a subset of the given IntSet.
|
boolean |
IntSet.isSupersetOf(IntSet subset)
Determines whether this IntSet is a superset of the given IntSet.
|
static IntSet |
IntSet.union(IntSet setA,
IntSet setB)
Return a new set that is the union of two other sets.
|
Constructor and Description |
---|
IntSet(IntSet fromSet)
Construct a copy of an IntSet.
|