|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<java.lang.Object,C>
clarion.system.AbstractChunkCollection<AbstractChunk>
clarion.system.SpecializedWMChunkCollection
public class SpecializedWMChunkCollection
This class implements a specialized working memory chunk collection within CLARION. It extends the AbstractChunkCollection class.
Usage:
This class acts as a container to hold specialized working memory chunks within the working memory.
Field Summary | |
---|---|
private int |
hash
The hash for this object. |
private static long |
serialVersionUID
|
Constructor Summary | |
---|---|
SpecializedWMChunkCollection()
Initializes a specialized working memory collection. |
|
SpecializedWMChunkCollection(java.util.Collection<? extends AbstractChunk> wmc)
Initializes a specialized working memory chunk collection with the collection of specialized working memory chunks specified. |
|
SpecializedWMChunkCollection(java.util.Map<? extends java.lang.Object,? extends AbstractChunk> map)
Initializes the specialized working memory chunk collection with the map of specialized working memory chunks. |
Method Summary | |
---|---|
SpecializedWMChunkCollection |
clone()
Clones the specialized working memory chunk collection (including all of it's chunks). |
boolean |
containsKeys(java.lang.Object WMCCollection)
Checks to see if the specified object is a specialized working memory chunk collection and that all of the keys within the specified collection are specified within this collection. |
boolean |
equals(java.lang.Object WMCCollection)
Checks to see if the specified object is a specialized working memory chunk collection and that all of the chunks within the specified collection are equal to the chunks in this collection. |
int |
hashCode()
|
DimensionValueCollection |
toDimensionValueCollection()
Returns the specialized working memory chunk collection as a dimension-value collection that contains a dimension for each unique dimension within the chunks of the collection. |
Methods inherited from class clarion.system.AbstractChunkCollection |
---|
put, putAll |
Methods inherited from class java.util.LinkedHashMap |
---|
clear, containsValue, get, removeEldestEntry |
Methods inherited from class java.util.HashMap |
---|
containsKey, entrySet, isEmpty, keySet, remove, size, values |
Methods inherited from class java.util.AbstractMap |
---|
toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
containsKey, entrySet, isEmpty, keySet, remove, size, values |
Field Detail |
---|
private static final long serialVersionUID
private int hash
Constructor Detail |
---|
public SpecializedWMChunkCollection()
public SpecializedWMChunkCollection(java.util.Collection<? extends AbstractChunk> wmc)
wmc
- The specialized working memory chunks for the collection.public SpecializedWMChunkCollection(java.util.Map<? extends java.lang.Object,? extends AbstractChunk> map)
map
- The map of specialized working memory chunks for the collection.Method Detail |
---|
public DimensionValueCollection toDimensionValueCollection()
This method is used to provide the specialized working memory chunks to the subsystems in a format that can be used as input.
toDimensionValueCollection
in class AbstractChunkCollection<AbstractChunk>
public boolean containsKeys(java.lang.Object WMCCollection)
containsKeys
in class AbstractChunkCollection<AbstractChunk>
WMCCollection
- The collection to compare to this collection.
public boolean equals(java.lang.Object WMCCollection)
equals
in interface java.util.Map<java.lang.Object,AbstractChunk>
equals
in class AbstractChunkCollection<AbstractChunk>
WMCCollection
- The collection to compare to this collection.
public int hashCode()
hashCode
in interface java.util.Map<java.lang.Object,AbstractChunk>
hashCode
in class java.util.AbstractMap<java.lang.Object,AbstractChunk>
public SpecializedWMChunkCollection clone()
clone
in class AbstractChunkCollection<AbstractChunk>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |