|
||||||||||
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<DriveStrength>
clarion.system.DriveStrengthCollection
public class DriveStrengthCollection
This class implements a drive strength collection within CLARION. It extends the AbstractOutputChunkCollection class.
Usage:
This class acts as a container to hold drive strengths.
Field Summary | |
---|---|
private int |
hash
The hash for this object. |
private static long |
serialVersionUID
|
Constructor Summary | |
---|---|
DriveStrengthCollection()
Initializes a drive strength collection. |
|
DriveStrengthCollection(java.util.Collection<? extends DriveStrength> ds)
Initializes a drive strength collection with the collection of drive strengths specified. |
|
DriveStrengthCollection(java.util.Map<? extends java.lang.Object,? extends DriveStrength> map)
Initializes the drive strength collection with the map of drive strengths. |
Method Summary | |
---|---|
DriveStrengthCollection |
clone()
Clones the drive strength collection (including all of it's drive strengths). |
boolean |
containsKeys(java.lang.Object DSCollection)
Checks to see if the specified object is a drive strength collection and that all of the keys within the specified drive strength collection are specified within this collection. |
boolean |
equals(java.lang.Object DSCollection)
Checks to see if the specified object is a drive strength collection and that all of the drive strengths within the specified drive strength collection are equal to the drive strengths in this collection. |
int |
hashCode()
|
DimensionValueCollection |
toDimensionValueCollection()
Returns the drive strength collection as a dimension-value collection that contains a single dimension, "DRIVE_STRENGTHS", with values that have the same ID and activation as the drive strengths in this 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 DriveStrengthCollection()
public DriveStrengthCollection(java.util.Collection<? extends DriveStrength> ds)
ds
- The drive strengths for the collection.public DriveStrengthCollection(java.util.Map<? extends java.lang.Object,? extends DriveStrength> map)
map
- The map of drive strengths for the drive strength collection.Method Detail |
---|
public DimensionValueCollection toDimensionValueCollection()
This method is used to provide the modules in the MCS with drive strengths in a format that can be input into an implicit module.
toDimensionValueCollection
in class AbstractChunkCollection<DriveStrength>
public boolean containsKeys(java.lang.Object DSCollection)
containsKeys
in class AbstractChunkCollection<DriveStrength>
DSCollection
- The collection to compare to this collection.
public boolean equals(java.lang.Object DSCollection)
equals
in interface java.util.Map<java.lang.Object,DriveStrength>
equals
in class AbstractChunkCollection<DriveStrength>
DSCollection
- The collection to compare to this collection.
public int hashCode()
hashCode
in interface java.util.Map<java.lang.Object,DriveStrength>
hashCode
in class java.util.AbstractMap<java.lang.Object,DriveStrength>
public DriveStrengthCollection clone()
clone
in class AbstractOutputChunkCollection<DriveStrength>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |