Package repast.simphony.context
Class DefaultContext<T>
java.lang.Object
java.util.AbstractCollection<T>
repast.simphony.context.AbstractContext<T>
repast.simphony.context.SmallDefaultContext<T>
repast.simphony.context.DefaultContext<T>
- All Implemented Interfaces:
Iterable<T>,Collection<T>,Context<T>,ContextListener,RepastElement
-
Field Summary
Fields inherited from class repast.simphony.context.SmallDefaultContext
allObjs, objectMapFields inherited from class repast.simphony.context.AbstractContext
subContextsFields inherited from interface repast.simphony.context.Context
SYN_CONTEXT_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanaddInternal(T o) protected booleanprotected booleanprotected intMethods inherited from class repast.simphony.context.SmallDefaultContext
getObjects, getObjectsAsStream, getRandomObject, getRandomObjects, getRandomObjectsAsStream, removeAll, retainAllMethods inherited from class repast.simphony.context.AbstractContext
add, addContextListener, addProjection, addSubContext, addValueLayer, clear, contains, eventOccured, findContext, findParent, fireAddContextEvent, fireRemoveEvent, fireSubContextAdded, fireSubContextRemoved, getAgentLayer, getAgentTypes, getContextListeners, getId, getProjection, getProjection, getProjections, getProjections, getSubContext, getSubContexts, getTypeID, getValueLayer, getValueLayers, handleRemove, hasSubContext, iterator, query, remove, removeContextListener, removeProjection, removeSubContext, removeValueLayer, setId, setTypeID, sizeMethods inherited from class java.util.AbstractCollection
addAll, containsAll, isEmpty, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
addAll, containsAll, equals, hashCode, isEmpty, parallelStream, removeIf, spliterator, stream, toArray, toArray, toArray
-
Constructor Details
-
DefaultContext
public DefaultContext() -
DefaultContext
-
DefaultContext
-
-
Method Details
-
addInternal
- Overrides:
addInternalin classSmallDefaultContext<T>
-
iteratorInternal
- Overrides:
iteratorInternalin classSmallDefaultContext<T>
-
removeInternal
- Overrides:
removeInternalin classSmallDefaultContext<T>
-
containsInternal
- Overrides:
containsInternalin classSmallDefaultContext<T>
-
sizeInternal
protected int sizeInternal()- Overrides:
sizeInternalin classSmallDefaultContext<T>
-