|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjcommon.graph.ObjectVertex<TValue>
TValue - The type of object this class will hold.public class ObjectVertex<TValue>
A representation of an IVertex instance using Objects.
IVertex| Constructor Summary | |
|---|---|
ObjectVertex(TValue value)
Instantiates a new instance of ObjectVertex. |
|
| Method Summary | ||
|---|---|---|
boolean |
equals(Object o)
|
|
static
|
from(TValue value)
Convenience method for instantiating a new ObjectVertex. |
|
TValue |
get()
Retrieves the value that this ObjectVertex represents. |
|
TValue |
getValue()
Retrieves the value that this ObjectVertex represents. |
|
int |
hashCode()
|
|
String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectVertex(TValue value)
ObjectVertex.
value - The value which this ObjectVertex will represent.| Method Detail |
|---|
public TValue get()
ObjectVertex represents.
get in interface IVertex<TValue>Object that this ObjectVertex represents.public TValue getValue()
ObjectVertex represents.
getValue in interface IVertex<TValue>Object that this ObjectVertex represents.public boolean equals(Object o)
equals in class ObjectObject.equals(Object)public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class ObjectObject.hashCode()public static <TValue> IVertex<TValue> from(TValue value)
ObjectVertex.
value - The value which this ObjectVertex will represent.
ObjectVertex.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||