| Constructor and Description | 
|---|
Factory()  | 
| Modifier and Type | Method and Description | 
|---|---|
static <T> Cache<T> | 
newSoftCache()
Creates a new  
Cache that will hold soft
 references to items of the specified type. | 
static <T> Cache<T> | 
newWeakCache()
Creates a new  
Cache that will hold weak
 references to items of the specified type. | 
public static <T> Cache<T> newWeakCache()
Cache that will hold weak
 references to items of the specified type.T - the type of item to be cachedCache instancepublic static <T> Cache<T> newSoftCache()
Cache that will hold soft
 references to items of the specified type.T - the type of item to be cachedCache instance