|
GATE Version 3.1-2270 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgate.annotation.NodeImpl
public class NodeImpl
Provides an implementation for the interface gate.Node.
| Constructor Summary | |
|---|---|
NodeImpl(Integer id)
Construction from id. |
|
NodeImpl(Integer id,
Long offset)
Construction from id and offset. |
|
| Method Summary | |
|---|---|
int |
compareTo(Object o)
Ordering |
Integer |
getId()
Returns the Id of the Node. |
Long |
getOffset()
Offset (will be null when the node is not anchored) |
String |
toString()
String representation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NodeImpl(Integer id)
public NodeImpl(Integer id,
Long offset)
id - the Id of the new nodeoffset - the (temporal) offset of the Node; Should be null
for non-anchored nodes.| Method Detail |
|---|
public Integer getId()
getId in interface IdBearerpublic Long getOffset()
getOffset in interface Nodepublic String toString()
toString in class Object
public int compareTo(Object o)
throws ClassCastException
compareTo in interface ComparableClassCastException
|
GATE Version 3.1-2270 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||