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