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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
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)
GroovyDsSetNode
get(String p_strKey)
Get the set node with the given unique identifier.GroovyDsSetNode
getAt(String p_strIndex)
Get the set node at the given index.ModifiableGroovyDsSetNodeCollection
leftShift(Object p_obj)
-
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 Detail
-
get
public GroovyDsSetNode get(String p_strKey)
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
public GroovyDsSetNode getAt(String p_strIndex)
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
public boolean add(GroovyDsSetNode p_node)
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
public boolean add(CharSequence p_strGuid)
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
public boolean addAll(Collection<? extends GroovyDsSetNode> p_collection)
-
leftShift
public ModifiableGroovyDsSetNodeCollection leftShift(Object p_obj)
-
-