|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthelix.graph.model.impl.RVertexSet
public class RVertexSet
a memory implementation of RegistryValue for set of Vertices
Constructor Summary | |
---|---|
RVertexSet()
|
|
RVertexSet(Collection<Vertex> c)
|
|
RVertexSet(Vertex v)
|
Method Summary | |
---|---|
void |
addVertex(Vertex v)
|
void |
clear()
|
boolean |
equals(Object o)
|
static RVertexSet |
getVertexSet(Registry r,
String key)
Lookup the RVertexSet associated to key in registry and create an empty RVertexSet if it does not exist. |
int |
hashCode()
|
boolean |
hasVertex(Vertex v)
|
Iterator<Vertex> |
iterator()
|
RegistryValue |
klone()
Potentially clone this instance. |
void |
removeVertex(Vertex v)
|
String |
serialize()
get a String representation of this instance. |
int |
size()
|
boolean |
toBoolean()
|
float |
toFloat()
|
int |
toInt()
|
String |
toString()
a human readable version of toString() |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RVertexSet()
public RVertexSet(Vertex v)
public RVertexSet(Collection<Vertex> c)
Method Detail |
---|
public RegistryValue klone()
RegistryValue
klone
in interface RegistryValue
public String serialize()
RegistryValue
serialize
in interface RegistryValue
public boolean toBoolean() throws IllegalValueException
toBoolean
in interface RegistryValue
IllegalValueException
public float toFloat() throws IllegalValueException
toFloat
in interface RegistryValue
IllegalValueException
public int toInt() throws IllegalValueException
toInt
in interface RegistryValue
IllegalValueException
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public Iterator<Vertex> iterator()
iterator
in interface Iterable<Vertex>
public boolean hasVertex(Vertex v)
public void addVertex(Vertex v)
public void removeVertex(Vertex v)
public void clear()
public int size()
public String toString()
toString
in interface RegistryValue
toString
in class Object
public static final RVertexSet getVertexSet(Registry r, String key)
if (r.has(key))
return (RVertexSet) r.get(key);
else
return (RVertexSet) r.set(key, new RVertexSet());
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |