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 TypeMethodDescriptionvoid
clear()
boolean
boolean
containsAll
(Collection<?> p_collection) boolean
isDirty()
Check if this collection has been modified.boolean
isEmpty()
boolean
Check if this collection is modifiable.iterator()
boolean
boolean
removeAll
(Collection<?> p_collection) boolean
retainAll
(Collection<?> p_collection) int
size()
Object[]
toArray()
<U> U[]
toArray
(U[] p_array) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
true
if this collection is modifiable, orfalse
otherwise.
-
isDirty
public boolean isDirty()Check if this collection has been modified.- Returns:
false
if the collection currently contains the same GUID set as when it has been created, orfalse
otherwise.
-
iterator
- Specified by:
iterator
in interfaceCollection<T extends AbstractGroovyDsNode>
- Specified by:
iterator
in interfaceIterable<T extends AbstractGroovyDsNode>
-
size
public int size()- Specified by:
size
in interfaceCollection<T extends AbstractGroovyDsNode>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceCollection<T extends AbstractGroovyDsNode>
-
contains
- Specified by:
contains
in interfaceCollection<T extends AbstractGroovyDsNode>
-
containsAll
- Specified by:
containsAll
in interfaceCollection<T extends AbstractGroovyDsNode>
-
remove
- Specified by:
remove
in interfaceCollection<T extends AbstractGroovyDsNode>
-
removeAll
- Specified by:
removeAll
in interfaceCollection<T extends AbstractGroovyDsNode>
-
retainAll
- Specified by:
retainAll
in interfaceCollection<T extends AbstractGroovyDsNode>
-
clear
public void clear()- Specified by:
clear
in interfaceCollection<T extends AbstractGroovyDsNode>
-
toArray
- Specified by:
toArray
in interfaceCollection<T extends AbstractGroovyDsNode>
-
toArray
public <U> U[] toArray(U[] p_array) - Specified by:
toArray
in interfaceCollection<T extends AbstractGroovyDsNode>
-