io.sarl.sre.janus.skills.internal
Class ConcurrentMultiList<E>
Type Parameters:
E - is the type of elements in the collections.
All Superinterfaces:
java.lang.Iterable<T>, java.util.Collection<E>
class ConcurrentMultiList<E>
extends java.lang.Object
implements java.util.Collection<E>
A collection composed of collections.

This collection is not thread-safe.

This collection is read-only.
Parameters:
<E> - is the type of elements in the collections.
Maven Group Identifier:
io.sarl.sre.janus
Maven Artifact Identifier:
janus.kernel
Nested Type Summary
Modifier and type Type and description
class ConcurrentMultiList.MultiIterator
Iterator on multicollection.
Action Summary
Modifier and type Action and description
boolean add(E)
This function is not supported, see addCollection(ConcurrentLinkedDeque).
boolean addAll(Collection<E>)
This function is not supported, see removeCollection(ConcurrentLinkedDeque).
boolean addCollection(ConcurrentLinkedDeque<E>)
Add a collection inside this multicollection.
void clear
boolean contains(Object)
boolean containsAll(Collection<E>)
This function is not supported, see removeCollection(ConcurrentLinkedDeque).
boolean isEmpty
java.util.Iterator<E> iterator
boolean remove(Object)
This function is not supported, see removeCollection(ConcurrentLinkedDeque).
boolean removeAll(Collection<E>)
This function is not supported, see removeCollection(ConcurrentLinkedDeque).
boolean removeCollection(ConcurrentLinkedDeque<E>)
Remove a collection from this multicollection.
boolean retainAll(Collection<E>)
This function is not supported, see removeCollection(ConcurrentLinkedDeque).
int size
java.lang.Object toArray
java.lang.Object toArray(Object)
Action Details
add(E)
def add(E) : boolean
This function is not supported, see addCollection(ConcurrentLinkedDeque).
addAll(Collection<E>)
def addAll(Collection<E>) : boolean
This function is not supported, see removeCollection(ConcurrentLinkedDeque).
Parameters:
collection - a collection
Returns:
nothing but exception
addCollection(ConcurrentLinkedDeque<E>)
def addCollection(ConcurrentLinkedDeque<E>) : boolean
Add a collection inside this multicollection.
Parameters:
collection - the collection to add.
Returns:
true if the multi-collection has changed, otherwise false .
clear
def clear
contains(Object)
def contains(Object) : boolean
containsAll(Collection<E>)
def containsAll(Collection<E>) : boolean
This function is not supported, see removeCollection(ConcurrentLinkedDeque).
Parameters:
collection - a collection
Returns:
nothing but exception
isEmpty
def isEmpty : boolean
iterator
def iterator : java.util.Iterator<E>
remove(Object)
def remove(Object) : boolean
This function is not supported, see removeCollection(ConcurrentLinkedDeque).
Parameters:
obj - an object
Returns:
nothing but exception
removeAll(Collection<E>)
def removeAll(Collection<E>) : boolean
This function is not supported, see removeCollection(ConcurrentLinkedDeque).
Parameters:
collection - a collection
Returns:
nothing but exception
removeCollection(ConcurrentLinkedDeque<E>)
def removeCollection(ConcurrentLinkedDeque<E>) : boolean
Remove a collection from this multicollection.
Parameters:
collection - the collection to remove.
Returns:
true if the multi-collection has changed, otherwise false .
retainAll(Collection<E>)
def retainAll(Collection<E>) : boolean
This function is not supported, see removeCollection(ConcurrentLinkedDeque).
Parameters:
collection - - a collection
Returns:
nothing but exception
size
def size : int
toArray
def toArray : java.lang.Object
toArray(Object)
def toArray(Object) : java.lang.Object

with T