|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdiva.pod.lwgraph.BasicLWEdge
public class BasicLWEdge
A basic implementation of the light-weight edge interface. This class implements an edge that contains a set of attributes.
Constructor Summary | |
---|---|
BasicLWEdge()
Create a new edge |
Method Summary | |
---|---|
int |
getEdgeId()
Return the integer id of this edge |
Object |
getProperty(String key)
Return the property corresponding to the given key, or null if no such property exists. |
Iterator |
propertyNames()
Return an iteration of the names of the properties |
void |
setEdgeId(int id)
Set the integer id of this edge. |
void |
setProperty(String key,
Object value)
Set the property corresponding to the given key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicLWEdge()
Method Detail |
---|
public int getEdgeId()
getEdgeId
in interface LWEdge
public Object getProperty(String key)
getProperty
in interface PropertyContainer
public void setEdgeId(int id)
setEdgeId
in interface LWEdge
public Iterator propertyNames()
propertyNames
in interface PropertyContainer
public void setProperty(String key, Object value)
setProperty
in interface PropertyContainer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |