|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.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 DataAcceptorset in interface EdgeMappublic java.lang.Object get(java.lang.Object edge)
get in interface DataProviderget in interface EdgeMapnull
public void setBool(java.lang.Object edge,
boolean value)
setBool in interface DataAcceptorsetBool in interface EdgeMappublic boolean getBool(java.lang.Object edge)
getBool in interface DataProvidergetBool in interface EdgeMapsetBool.false
public void setDouble(java.lang.Object edge,
double value)
setDouble in interface DataAcceptorsetDouble in interface EdgeMappublic double getDouble(java.lang.Object edge)
getDouble in interface DataProvidergetDouble in interface EdgeMapsetDouble.0.0d
public void setInt(java.lang.Object edge,
int value)
setInt in interface DataAcceptorsetInt in interface EdgeMappublic int getInt(java.lang.Object edge)
getInt in interface DataProvidergetInt in interface EdgeMapsetInt.0
|
© Copyright 2000-2025, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||