Package hydra.pg.model
Class Label
- java.lang.Object
-
- hydra.pg.model.Label
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Label>
- Direct Known Subclasses:
Label.Edge,Label.Vertex
public abstract class Label extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<Label>
Either a vertex or edge label- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLabel.Edgestatic interfaceLabel.PartialVisitor<R>Partial visitor overLabelwith a defaultLabel.PartialVisitor.otherwise(hydra.pg.model.Label)branch.static classLabel.Vertexstatic interfaceLabel.Visitor<R>Visitor overLabel.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract <R> Raccept(Label.Visitor<R> visitor)Dispatch tovisitor.abstract inthydraOrdinal()
-
-
-
Method Detail
-
accept
public abstract <R> R accept(Label.Visitor<R> visitor)
Dispatch tovisitor.
-
hydraOrdinal
public abstract int hydraOrdinal()
-
-