|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.util.EdgeMapAdapter
public abstract class EdgeMapAdapter
This class is an empty abstract implementation of the EdgeMap interface.
Constructor Summary | |
---|---|
EdgeMapAdapter()
|
Method Summary | |
---|---|
java.lang.Object |
get(java.lang.Object edge)
Returns the value bound to the given edge. |
boolean |
getBool(java.lang.Object edge)
Returns the boolean value bound to the given edge. |
double |
getDouble(java.lang.Object edge)
Returns the double value bound to the given edge. |
int |
getInt(java.lang.Object edge)
Returns the integer value bound to the given edge. |
void |
set(java.lang.Object edge,
java.lang.Object value)
Associates the given value to with the given edge. |
void |
setBool(java.lang.Object edge,
boolean value)
Associates the given boolean value to with the given edge. |
void |
setDouble(java.lang.Object edge,
double value)
Associates the given double value to with the given edge. |
void |
setInt(java.lang.Object edge,
int value)
Associates the given integer value to with the given edge. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EdgeMapAdapter()
Method Detail |
---|
public void set(java.lang.Object edge, java.lang.Object value)
set
in interface DataAcceptor
set
in interface EdgeMap
public java.lang.Object get(java.lang.Object edge)
get
in interface DataProvider
get
in interface EdgeMap
null
public void setBool(java.lang.Object edge, boolean value)
setBool
in interface DataAcceptor
setBool
in interface EdgeMap
public boolean getBool(java.lang.Object edge)
getBool
in interface DataProvider
getBool
in interface EdgeMap
setBool
.false
public void setDouble(java.lang.Object edge, double value)
setDouble
in interface DataAcceptor
setDouble
in interface EdgeMap
public double getDouble(java.lang.Object edge)
getDouble
in interface DataProvider
getDouble
in interface EdgeMap
setDouble
.0.0d
public void setInt(java.lang.Object edge, int value)
setInt
in interface DataAcceptor
setInt
in interface EdgeMap
public int getInt(java.lang.Object edge)
getInt
in interface DataProvider
getInt
in interface EdgeMap
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 |