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