Class ModifiableGroovyDsSetNodeCollection
java.lang.Object
de.uplanet.lucy.server.usermanager.groovy.AbstractModifiableGroovyDsNodeCollection<GroovyDsSetNode>
de.uplanet.lucy.server.usermanager.groovy.ModifiableGroovyDsSetNodeCollection
- All Implemented Interfaces:
Iterable<GroovyDsSetNode>
,Collection<GroovyDsSetNode>
public final class ModifiableGroovyDsSetNodeCollection
extends AbstractModifiableGroovyDsNodeCollection<GroovyDsSetNode>
-
Method Summary
Modifier and TypeMethodDescriptionboolean
add
(GroovyDsSetNode p_node) Add the set node with the given unique identifier.boolean
add
(CharSequence p_strGuid) Add the set node with the given unique identifier.boolean
addAll
(Collection<? extends GroovyDsSetNode> p_collection) Get the set node with the given unique identifier.Get the set node at the given index.Methods inherited from class de.uplanet.lucy.server.usermanager.groovy.AbstractModifiableGroovyDsNodeCollection
clear, contains, containsAll, isDirty, isEmpty, isModifiable, iterator, remove, removeAll, retainAll, size, toArray, toArray
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArray
-
Method Details
-
get
Get the set node with the given unique identifier.- Parameters:
p_strKey
- The unique identifier of the set node.- Returns:
- The set node, or
null
if there is no set node with the given unique identifier.
-
getAt
Get the set node at the given index.- Parameters:
p_strIndex
- The index (unique identifier) of the set node.- Returns:
- The set node, or
null
if there is no set node with the given unique identifier.
-
add
Add the set node with the given unique identifier.If a set node with the same unique identifier already exists it will be replaced.
- Parameters:
p_node
- The set to be added.- Returns:
true
if this collection changed as a result of the call, orfalse
otherwise.- Throws:
IllegalArgumentException
- If the given unique identifier isnull
, or if no corresponding set node could be found.
-
add
Add the set node with the given unique identifier.If a set node with the same unique identifier already exists it will be replaced.
- Parameters:
p_strGuid
- The unique identifier of the set to be added.- Returns:
true
if this collection changed as a result of the call, orfalse
otherwise.- Throws:
IllegalArgumentException
- If the given unique identifier isnull
, or if no corresponding set node could be found.
-
addAll
-
leftShift
-