de.grogra.graph
Class Cache
java.lang.Object
de.grogra.graph.Cache
- Direct Known Subclasses:
- LineSegmentizationCache, PolygonizationCache
public abstract class Cache
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
gs
protected final GraphState gs
Cache
public Cache(GraphState gs)
clear
public void clear()
clearUnused
public void clearUnused()
createEntry
protected abstract Cache.Entry createEntry(java.lang.Object object,
boolean asNode,
ContextDependent dependent,
java.lang.Object strategy)
getGraphState
public GraphState getGraphState()
getValue
public java.lang.Object getValue(java.lang.Object object,
boolean asNode,
ContextDependent dependent,
java.lang.Object strategy)