public class SurfaceCache extends Object
Modifier and Type | Field and Description |
---|---|
com.google.common.cache.Cache<Integer,TimeSurface> |
cache |
static int |
NONE |
Constructor and Description |
---|
SurfaceCache(int capacity) |
Modifier and Type | Method and Description |
---|---|
int |
add(TimeSurface surface) |
TimeSurface |
get(int id) |
public static final int NONE
public final com.google.common.cache.Cache<Integer,TimeSurface> cache
public int add(TimeSurface surface)
public TimeSurface get(int id)
Copyright © 2018. All rights reserved.