|
||||||||||
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<C>
clarion.system.AbstractOutputChunkCollection<Goal>
clarion.system.GoalCollection
public class GoalCollection
This class implements a goal collection within CLARION. It extends the AbstractOutputChunkCollection class.
Usage:
This class acts as a container for goals.
Field Summary | |
---|---|
private int |
hash
The hash for this object. |
private static long |
serialVersionUID
|
Constructor Summary | |
---|---|
GoalCollection()
Initializes a goal collection. |
|
GoalCollection(java.util.Collection<? extends Goal> Goals)
Initializes a goal collection with the collection of goals specified. |
|
GoalCollection(java.util.Map<? extends java.lang.Object,? extends Goal> map)
Initializes the goal collection with the map of goals. |
Method Summary | |
---|---|
GoalCollection |
clone()
Clones the goal collection (including all of the goals in the collection). |
boolean |
containsKeys(java.lang.Object GCollection)
Checks to see if the specified object is a goal collection and that all of the keys within the specified goal collection are specified within this collection. |
boolean |
equals(java.lang.Object GCollection)
Checks to see if the specified object is an goal collection and that all of the goals within the specified goal collection are equal to the goals in this collection. |
int |
hashCode()
|
DimensionValueCollection |
toDimensionValueCollection()
Returns the goal collection as a dimension-value collection that contains a dimension for each unique dimension within the goals of the goal 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 GoalCollection()
public GoalCollection(java.util.Collection<? extends Goal> Goals)
Goals
- The goals for the collection.public GoalCollection(java.util.Map<? extends java.lang.Object,? extends Goal> map)
map
- The map of goals for the goal collection.Method Detail |
---|
public DimensionValueCollection toDimensionValueCollection()
This method is used to provide the goals to the subsystems in a format that can be used as input.
toDimensionValueCollection
in class AbstractChunkCollection<Goal>
public boolean containsKeys(java.lang.Object GCollection)
containsKeys
in class AbstractChunkCollection<Goal>
GCollection
- The collection to compare to this collection.
public boolean equals(java.lang.Object GCollection)
equals
in interface java.util.Map<java.lang.Object,Goal>
equals
in class AbstractChunkCollection<Goal>
GCollection
- The collection to compare to this collection.
public int hashCode()
hashCode
in interface java.util.Map<java.lang.Object,Goal>
hashCode
in class java.util.AbstractMap<java.lang.Object,Goal>
public GoalCollection clone()
clone
in class AbstractOutputChunkCollection<Goal>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |