|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Location in graph |
---|
Fields in graph declared as Location | |
---|---|
static Location |
Location.ORIGIN
A Location that is a the origin of a plane, (0,0). |
Methods in graph that return Location | |
---|---|
Location |
Vertex.getLocation()
This vertex's current location |
Methods in graph that return types with arguments of type Location | |
---|---|
java.util.Set<Location> |
Graph.getLocations()
Retrieves the set of all vertex locations for this graph. |
java.util.HashMap<Location,Vertex<E>> |
Graph.getVertices()
Returns the map of locations to vertices in this graph. |
Methods in graph with parameters of type Location | |
---|---|
Vertex<E> |
Graph.get(Location loc)
Returns the Vertex contained at Location loc . |
Vertex<E> |
Graph.getVertexAt(Location l)
Retrieves the vertex at a given location. |
Vertex<E> |
Graph.remove(Location loc)
Removes and returns the vertex at the given location. |
void |
Vertex.setLocation(Location location)
Sets a new location for this vertex object. |
Constructors in graph with parameters of type Location | |
---|---|
Vertex(E data,
Location location)
|
|
Vertex(Location location)
Creates a new Vertex object at a given Location . |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |