Class AbstractModifiableGroovyDsNodeCollection<T extends AbstractGroovyDsNode>
java.lang.Object
de.uplanet.lucy.server.usermanager.groovy.AbstractModifiableGroovyDsNodeCollection<T>
- All Implemented Interfaces:
Iterable<T>,Collection<T>
- Direct Known Subclasses:
ModifiableGroovyDsSetNodeCollection
public abstract class AbstractModifiableGroovyDsNodeCollection<T extends AbstractGroovyDsNode>
extends Object
implements Collection<T>
-
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleanbooleancontainsAll(Collection<?> p_collection) booleanisDirty()Check if this collection has been modified.booleanisEmpty()booleanCheck if this collection is modifiable.iterator()booleanbooleanremoveAll(Collection<?> p_collection) booleanretainAll(Collection<?> p_collection) intsize()Object[]toArray()<U> U[]toArray(U[] p_array) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
add, addAll, equals, hashCode, parallelStream, removeIf, spliterator, stream, toArray
-
Method Details
-
isModifiable
public boolean isModifiable()Check if this collection is modifiable.- Returns:
trueif this collection is modifiable, orfalseotherwise.
-
isDirty
public boolean isDirty()Check if this collection has been modified.- Returns:
falseif the collection currently contains the same GUID set as when it has been created, orfalseotherwise.
-
iterator
- Specified by:
iteratorin interfaceCollection<T extends AbstractGroovyDsNode>- Specified by:
iteratorin interfaceIterable<T extends AbstractGroovyDsNode>
-
size
public int size()- Specified by:
sizein interfaceCollection<T extends AbstractGroovyDsNode>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<T extends AbstractGroovyDsNode>
-
contains
- Specified by:
containsin interfaceCollection<T extends AbstractGroovyDsNode>
-
containsAll
- Specified by:
containsAllin interfaceCollection<T extends AbstractGroovyDsNode>
-
remove
- Specified by:
removein interfaceCollection<T extends AbstractGroovyDsNode>
-
removeAll
- Specified by:
removeAllin interfaceCollection<T extends AbstractGroovyDsNode>
-
retainAll
- Specified by:
retainAllin interfaceCollection<T extends AbstractGroovyDsNode>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<T extends AbstractGroovyDsNode>
-
toArray
- Specified by:
toArrayin interfaceCollection<T extends AbstractGroovyDsNode>
-
toArray
public <U> U[] toArray(U[] p_array) - Specified by:
toArrayin interfaceCollection<T extends AbstractGroovyDsNode>
-