|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.visad.display.ConstantMapSet
public class ConstantMapSet
Provides support for a set of ConstantMap-s.
| Constructor Summary | |
|---|---|
ConstantMapSet()
Constructs from nothing. |
|
| Method Summary | |
|---|---|
Object |
clone()
Returns a clone of this instance. |
static ConstantMapSet |
combine(ConstantMapSet set1,
ConstantMapSet set2)
Combines the ConstantMap-s of two sets. |
ConstantMap[] |
getConstantMaps()
Gets clones of the ConstantMap-s of this set as an array. |
ConstantMap |
put(ConstantMap map)
Adds a ConstantMap to this set. |
ConstantMap |
remove(DisplayRealType type)
Removes a ConstantMap from this set. |
void |
removeAll()
Removes all ConstantMaps from this set. |
int |
size()
Gets the number of elements in this set of ConstantMap-s. |
String |
toString()
Returns a String representation of this ConstantMapSet. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConstantMapSet()
| Method Detail |
|---|
public ConstantMap put(ConstantMap map)
map - The ConstantMap to be added to this set.
public ConstantMap remove(DisplayRealType type)
ConstantMap from this set.
type - The DisplayRealType associated with the
ConstantMap to be removed.
type that was removed from this set
if it exists; otherwise, NULL.public void removeAll()
ConstantMaps from this set.
public static ConstantMapSet combine(ConstantMapSet set1,
ConstantMapSet set2)
set1 - The first set.set2 - The second set.
set2 override ConstantMap-s for the
same DisplayRealType in set1.public int size()
public ConstantMap[] getConstantMaps()
public Object clone()
clone in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||