public class CachingLayout<V,E> extends LayoutDecorator<V,E> implements Caching
LayoutDecorator| Modifier and Type | Field and Description |
|---|---|
protected com.google.common.cache.LoadingCache<V,Point2D> |
locations |
delegate| Constructor and Description |
|---|
CachingLayout(Layout<V,E> delegate) |
| Modifier and Type | Method and Description |
|---|---|
Point2D |
apply(V v) |
void |
clear()
clear cache
|
void |
init()
ititialize resources for a cache
|
void |
setGraph(Graph<V,E> graph) |
done, getDelegate, getGraph, getSize, initialize, isLocked, lock, reset, setDelegate, setInitializer, setLocation, setSize, step, transformCopyright © 2016. All rights reserved.