|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.hp.hpl.mesa.rdf.jena.model.AnonId
Create a new id for an anonymous node.
This id is guaranteed to be unique on this machine.
Constructor Summary | |
AnonId()
Creates new AnonId |
|
AnonId(java.lang.String id)
Create a new AnonId from the string argument supplied |
Method Summary | |
boolean |
equals(java.lang.Object o)
Test whether two id's are the same |
int |
hashCode()
return a hashcode for this id |
java.lang.String |
toString()
return a string representation of the id |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public AnonId()
This id is guaranteed to be unique on this machine.
public AnonId(java.lang.String id)
id
- A string representation of the id to be created.Method Detail |
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the object to be comparedpublic java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |