|
Groovy JDK |
Method Summary | |
---|---|
Set
|
asImmutable()
A convenience method for creating an immutable list |
Set
|
asSynchronized()
A convenience method for creating a synchronized Set |
Set
|
flatten()
Flatten a set contents (recursively) added to the new collection |
Set
|
minus(Collection operands)
Create a Set composed of the elements of the first set minus the elements of the given collection TODO: remove using number comparator? |
Set
|
minus(Object operand)
Create a Set composed of the elements of the first set minus the operand |
Method Detail |
---|
public Set asImmutable()
public Set asSynchronized()
public Set flatten()
public Set minus(Collection operands)
operands
- the items to remove from the set.
public Set minus(Object operand)
operand
- the operand to remove from the set.
|
Groovy JDK |