private static class Tile.CachedCallable<V> extends java.lang.Object implements java.util.concurrent.Callable<V>
| Modifier and Type | Field and Description |
|---|---|
private java.util.concurrent.Callable<V> |
callable |
private V |
result |
| Constructor and Description |
|---|
CachedCallable(java.util.concurrent.Callable<V> callable)
Wraps callable so it is evaluated only once
|
| Modifier and Type | Method and Description |
|---|---|
V |
call() |
CachedCallable(java.util.concurrent.Callable<V> callable)
callable - to cache