jcommon.graph
Class StringVertex

java.lang.Object
  extended by jcommon.graph.StringVertex
All Implemented Interfaces:
IVertex

public class StringVertex
extends Object
implements IVertex

A representation of an IVertex instance using Strings.

See Also:
IVertex

Constructor Summary
StringVertex(String name)
           
 
Method Summary
 boolean equals(Object o)
           
static StringVertex from(String name)
           
 String get()
           
 String getName()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringVertex

public StringVertex(String name)
Method Detail

get

public String get()

getName

public String getName()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

from

public static StringVertex from(String name)


Copyright © 2012-2013. All Rights Reserved.