io.sarl.sre.janus.spaces
Class DefaultSpaceComponentFactory
All Superinterfaces:
SpaceComponentFactory
@org.eclipse.xtext.xbase.lib.XbaseGenerated
class DefaultSpaceComponentFactory
extends java.lang.Object
implements SpaceComponentFactory
Default implementation of a factory provided by the SRE for creating the components of a space.

This implementation provides standard collections from the Java SDK.
Maven Group Identifier:
io.sarl.sre.janus
Maven Artifact Identifier:
janus.kernel
Since:
0.15
Property Summary
Modifier and type Property and description
protected ConcurrentCollectionFactory concurrentCollectionFactory
Replies the factory for building concurrent collections.
Constructor Summary
Constructor and description
new(Provider<T>)
Constructor.
Action Summary
Modifier and type Action and description
ConcurrentList<T> createList
java.util.concurrent.ConcurrentMap<K,V> createMap([Comparator<T>])
ConcurrentSet<T> createSet([Comparator<T>])
protected ConcurrentCollectionFactory getConcurrentCollectionFactory
Replies the factory for building concurrent collections.
Property Details
concurrentCollectionFactory
protected val concurrentCollectionFactory : ConcurrentCollectionFactory
Replies the factory for building concurrent collections.

This property is an alias for the action: getConcurrentCollectionFactory

Returns:
the factory.
Constructor Details
new(Provider<T>)
new(Provider<T>)
Constructor.
Action Details
createList
def createList : ConcurrentList<T>

with E

createMap([Comparator<T>])
def createMap([Comparator<T>]) : java.util.concurrent.ConcurrentMap<K,V>

with K, V

createSet([Comparator<T>])
def createSet([Comparator<T>]) : ConcurrentSet<T>

with E

getConcurrentCollectionFactory
protected def getConcurrentCollectionFactory : ConcurrentCollectionFactory
Replies the factory for building concurrent collections.
Returns:
the factory.