public class BasicLWEdge extends Object implements LWEdge, PropertyContainer
| Constructor and Description |
|---|
BasicLWEdge()
Create a new edge
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public int getEdgeId()
public Object getProperty(String key)
getProperty in interface PropertyContainerpublic void setEdgeId(int id)
public Iterator propertyNames()
propertyNames in interface PropertyContainerpublic void setProperty(String key, Object value)
setProperty in interface PropertyContainerCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.