A specialisation of NamedDomainObjectCollection that also implements List.
All object equality is determined in terms of object names. That is, calling remove()
with an object that is NOT equal to
an existing object in terms of equals
, but IS in terms of name equality will result in the existing collection item with
the equal name being removed.
- The type of element in the setMethods inherited from class | Name |
---|---|
interface List |
add, add, get, equals, hashCode, indexOf, clear, contains, isEmpty, lastIndexOf, size, subList, toArray, toArray, addAll, addAll, iterator, remove, remove, set, containsAll, listIterator, listIterator, removeAll, retainAll |
interface NamedDomainObjectCollection |
add, addAll, addRule, addRule, findByName, getAsMap, getAt, getByName, getByName, getNamer, getNames, getRules, matching, matching, withType |
interface DomainObjectCollection |
all, all, findAll, matching, matching, whenObjectAdded, whenObjectAdded, whenObjectRemoved, whenObjectRemoved, withType, withType, withType |