|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
java.lang.Iterable org.gradle.api.DomainObjectCollection org.gradle.api.DomainObjectSet java.util.Collection
public interface DomainObjectSet extends DomainObjectCollection, java.util.Set
A DomainObjectSet is a specialisation of DomainObjectCollection that guarantees java.util.Set semantics.
- The type of domain objects in this set.Method Summary | |
---|---|
java.util.Set
|
findAll(groovy.lang.Closure spec)
{@inheritDoc} |
DomainObjectSet
|
matching(Spec spec)
{@inheritDoc} |
DomainObjectSet
|
matching(groovy.lang.Closure spec)
{@inheritDoc} |
DomainObjectSet
|
withType(java.lang.Class type)
{@inheritDoc} |
Methods inherited from interface java.util.Set | |
---|---|
java.util.Set#add(java.lang.Object), java.util.Set#equals(java.lang.Object), java.util.Set#hashCode(), java.util.Set#clear(), java.util.Set#isEmpty(), java.util.Set#contains(java.lang.Object), java.util.Set#addAll(java.util.Collection), java.util.Set#size(), java.util.Set#toArray([Ljava.lang.Object;), java.util.Set#toArray(), java.util.Set#iterator(), java.util.Set#remove(java.lang.Object), java.util.Set#removeAll(java.util.Collection), java.util.Set#containsAll(java.util.Collection), java.util.Set#retainAll(java.util.Collection) |
Methods inherited from interface DomainObjectCollection | |
---|---|
all, all, allObjects, allObjects, findAll, findAll, getAll, matching, matching, whenObjectAdded, whenObjectAdded, whenObjectRemoved, whenObjectRemoved, withType, withType, withType |
Method Detail |
---|
public java.util.Set findAll(groovy.lang.Closure spec)
public DomainObjectSet matching(Spec spec)
public DomainObjectSet matching(groovy.lang.Closure spec)
public DomainObjectSet withType(java.lang.Class type)
Groovy Documentation