|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.util.NodeMapAdapter
public abstract class NodeMapAdapter
This class is an abstract empty implementation of the NodeMap interface. Subclasses
Constructor Summary | |
---|---|
NodeMapAdapter()
|
Method Summary | |
---|---|
java.lang.Object |
get(java.lang.Object key)
Returns the value bound to the given node. |
boolean |
getBool(java.lang.Object key)
Returns the boolean value bound to the given node. |
double |
getDouble(java.lang.Object key)
Returns the double value bound to the given node. |
int |
getInt(java.lang.Object key)
Returns the integer value bound to the given node. |
void |
set(java.lang.Object key,
java.lang.Object value)
Associates the given value to with the given node. |
void |
setBool(java.lang.Object key,
boolean value)
Associates the given boolean value to with the given node. |
void |
setDouble(java.lang.Object key,
double value)
Associates the given double value to with the given node. |
void |
setInt(java.lang.Object key,
int value)
Associates the given integer value to with the given node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NodeMapAdapter()
Method Detail |
---|
public void set(java.lang.Object key, java.lang.Object value)
set
in interface DataAcceptor
set
in interface NodeMap
public java.lang.Object get(java.lang.Object key)
get
in interface DataProvider
get
in interface NodeMap
key
-
null
public void setBool(java.lang.Object key, boolean value)
setBool
in interface DataAcceptor
setBool
in interface NodeMap
public boolean getBool(java.lang.Object key)
getBool
in interface DataProvider
getBool
in interface NodeMap
setBool
.key
-
false
public void setDouble(java.lang.Object key, double value)
setDouble
in interface DataAcceptor
setDouble
in interface NodeMap
public double getDouble(java.lang.Object key)
getDouble
in interface DataProvider
getDouble
in interface NodeMap
setDouble
.0.0d
public void setInt(java.lang.Object key, int value)
setInt
in interface DataAcceptor
setInt
in interface NodeMap
public int getInt(java.lang.Object key)
getInt
in interface DataProvider
getInt
in interface NodeMap
setInt
.0
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |