|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mulgara.mrg.Bnode
public class Bnode
A blank node.
| Field Summary | |
|---|---|
static int |
TYPE_ID
The type identifier for Bnode |
| Constructor Summary | |
|---|---|
Bnode()
Create a new anonymous blank node. |
|
Bnode(String label)
Create a new blank node. |
|
| Method Summary | |
|---|---|
int |
compareTo(Node o)
Compares this object with the specified object for order. |
boolean |
equals(Object o)
Equality method. |
String |
getLabel()
Gets the "label" portion of the node ID |
int |
getTypeId()
A type identifier to distinguish from the other types of Node. |
int |
hashCode()
The hashcode, based on the label. |
String |
toString()
Represents this node as a string. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int TYPE_ID
| Constructor Detail |
|---|
public Bnode(String label)
label - The label used to uniquely identify the node.public Bnode()
| Method Detail |
|---|
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic String getLabel()
public int getTypeId()
getTypeId in interface Nodepublic int compareTo(Node o)
compareTo in interface Comparable<Node>o - the object to be compared.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||