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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
boolean
contains(Object p_node)
boolean
containsAll(Collection<?> p_collection)
boolean
isDirty()
Check if this collection has been modified.boolean
isEmpty()
boolean
isModifiable()
Check if this collection is modifiable.Iterator<T>
iterator()
boolean
remove(Object p_node)
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 Detail
-
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
public Iterator<T> 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
public boolean contains(Object p_node)
- Specified by:
contains
in interfaceCollection<T extends AbstractGroovyDsNode>
-
containsAll
public boolean containsAll(Collection<?> p_collection)
- Specified by:
containsAll
in interfaceCollection<T extends AbstractGroovyDsNode>
-
remove
public boolean remove(Object p_node)
- Specified by:
remove
in interfaceCollection<T extends AbstractGroovyDsNode>
-
removeAll
public boolean removeAll(Collection<?> p_collection)
- Specified by:
removeAll
in interfaceCollection<T extends AbstractGroovyDsNode>
-
retainAll
public boolean retainAll(Collection<?> p_collection)
- Specified by:
retainAll
in interfaceCollection<T extends AbstractGroovyDsNode>
-
clear
public void clear()
- Specified by:
clear
in interfaceCollection<T extends AbstractGroovyDsNode>
-
toArray
public Object[] 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>
-
-