|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.io.LinkMap
public class LinkMap
A simple named map for key-value-pairs.
Values must be of type LinkInfo.
Keys may be of any type, with nodes, edges, and labels being the main focus.

| Constructor Summary | |
|---|---|
LinkMap()
Constructs an empty, unnamed LinkMap. |
|
| Method Summary | |
|---|---|
void |
clear()
Removes all mappings from this map and deletes its name. |
LinkInfo |
get(java.lang.Object key)
Gets the LinkInfo mapped to the specified key. |
java.lang.String |
getMapName()
Returns this map's name. |
void |
put(java.lang.Object key,
LinkInfo value)
Maps the specified value to the specified key. |
void |
remove(java.lang.Object key)
Removes the specified key and its associated value from this map. |
void |
setMapName(java.lang.String mapName)
Specifies this map's name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LinkMap()
| Method Detail |
|---|
public java.lang.String getMapName()
public void setMapName(java.lang.String mapName)
mapName - public LinkInfo get(java.lang.Object key)
LinkInfo mapped to the specified key.
key -
LinkInfo associated to the key;
or null if no value has been mapped to the key
public void put(java.lang.Object key,
LinkInfo value)
key - value - public void remove(java.lang.Object key)
public void clear()
|
© Copyright 2000-2025, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||