edu.uci.ics.dillenco.simplegraph01
Class SimpleMap<V>
java.lang.Object
edu.uci.ics.dillenco.simplegraph01.SimpleMap<V>
- Direct Known Subclasses:
- HalfEdgeMap, NodeMap, QEdgeMap
abstract class SimpleMap<V>
- extends Object
This is the abstract class for the classes that map Nodes, QEdges, HalfEdges,
etc to user-defined attributes. These classes supports a scaled-down version
of mapping, but they use direct object reference for efficiency.
Method Summary |
abstract void |
clear()
|
abstract boolean |
isEmpty()
Return whether this map is currently empty. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
graph
protected final Graph graph
SimpleMap
SimpleMap(Graph g)
clear
public abstract void clear()
isEmpty
public abstract boolean isEmpty()
- Return whether this map is currently empty.
- Returns:
- true if the map is empty.