public class ConstantMapSet
extends java.lang.Object
Constructor and Description |
---|
ConstantMapSet()
Constructs from nothing.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Returns a clone of this instance.
|
static ConstantMapSet |
combine(ConstantMapSet set1,
ConstantMapSet set2)
Combines the ConstantMap-s of two sets.
|
visad.ConstantMap[] |
getConstantMaps()
Gets clones of the ConstantMap-s of this set as an array.
|
visad.ConstantMap |
put(visad.ConstantMap map)
Adds a ConstantMap to this set.
|
visad.ConstantMap |
remove(visad.DisplayRealType type)
Removes a
ConstantMap from this set. |
void |
removeAll()
Removes all
ConstantMap s from this set. |
int |
size()
Gets the number of elements in this set of ConstantMap-s.
|
java.lang.String |
toString()
Returns a String representation of this ConstantMapSet.
|
public visad.ConstantMap put(visad.ConstantMap map)
map
- The ConstantMap to be added to this set.public visad.ConstantMap remove(visad.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()
ConstantMap
s 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 visad.ConstantMap[] getConstantMaps()
public java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object