class SettingsSet extends java.lang.Object
A set which combines with a set of defaults The object delegates most calls to an internal settings set, but implements parts of the Set interface to read from both self and the supplied defaults object.
- type of elements in the set| Constructor and description |
|---|
SettingsSet
(java.util.Set<E> defaults) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
boolean |
contains(java.lang.Object o)Returns true if this set contains the specified element. |
|
boolean |
containsAll(java.util.Collection<?> c)Returns true if this set contains all of the elements of the specified collection. |
|
boolean |
isEmpty()Returns true if this set contains no elements. |
|
int |
size()Returns the number of elements in this set (its cardinality). |
|
java.lang.Object[] |
toArray()Returns an array containing all of the elements in this set. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Returns true if this set contains the specified element.
o - element whose presence in this set is to be testedReturns true if this set contains all of the elements of the specified collection.
c - collection to be checked for containment in this setReturns true if this set contains no elements.
Returns the number of elements in this set (its cardinality).
Returns an array containing all of the elements in this set.
Groovy Documentation