A DomainObjectSet
is a specialisation of DomainObjectCollection that guarantees Set semantics.
- The type of domain objects in this set.Type | Name and description |
---|---|
Set<T> |
findAll(Closure spec) {@inheritDoc} |
DomainObjectSet<T> |
matching(Spec<? super T> spec) {@inheritDoc} |
DomainObjectSet<T> |
matching(Closure spec) {@inheritDoc} |
DomainObjectSet<S> |
withType(Class<S> type) {@inheritDoc} |
Methods inherited from class | Name |
---|---|
interface DomainObjectCollection |
all, all, findAll, matching, matching, whenObjectAdded, whenObjectAdded, whenObjectRemoved, whenObjectRemoved, withType, withType, withType |
interface Set |
add, remove, equals, hashCode, clear, contains, isEmpty, iterator, size, toArray, toArray, spliterator, addAll, containsAll, removeAll, retainAll, stream, removeIf, parallelStream, forEach |
{@inheritDoc}
{@inheritDoc}
{@inheritDoc}