|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.plot2.ReportMap
public class ReportMap
Map containing typed entries generated as a result of plotting. The sequence in which entries are added is significant; general interest entries should be added in the order in which it makes sense for a UI to present them to the user.
Constructor Summary | |
---|---|
ReportMap()
Constructs an empty map. |
|
ReportMap(ReportMap copy)
Constructs a map with the same content as a given template. |
Method Summary | ||
---|---|---|
boolean |
equals(Object o)
|
|
|
get(ReportKey<T> key)
Retrieves an entry. |
|
int |
hashCode()
|
|
Set<ReportKey<?>> |
keySet()
Returns an ordered set of the keys actually present in this map. |
|
|
put(ReportKey<T> key,
T value)
Sets an entry. |
|
void |
putAll(ReportMap report)
Copies all the entries from a given map into this map. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReportMap()
public ReportMap(ReportMap copy)
copy
- map whose contents are to be copiedMethod Detail |
---|
public <T> void put(ReportKey<T> key, T value)
key
- keyvalue
- valuepublic void putAll(ReportMap report)
report
- map to copypublic <T> T get(ReportKey<T> key)
key
- key
public Set<ReportKey<?>> keySet()
public int hashCode()
hashCode
in class Object
public boolean equals(Object o)
equals
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |