public class BasicEdge extends BasicPropertyContainer
Constructor and Description |
---|
BasicEdge()
Create a new edge with no tail or head
|
BasicEdge(BasicNode tail,
BasicNode head)
Create a new edge with the specified tail and head
|
Modifier and Type | Method and Description |
---|---|
boolean |
acceptHead(BasicNode head)
Return true
|
boolean |
acceptTail(BasicNode tail)
Return true
|
BasicNode |
getHead()
Return the head node
|
BasicNode |
getTail()
Return the tail node
|
void |
setHead(BasicNode head)
Set the head node.
|
void |
setTail(BasicNode tail)
Set the tail node.
|
getProperty, properties, propertyNames, removeAllProperties, setProperty
public boolean acceptHead(BasicNode head)
public boolean acceptTail(BasicNode tail)
public BasicNode getHead()
public BasicNode getTail()
public void setHead(BasicNode head)
public void setTail(BasicNode tail)
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.