T
- The type of values that are cachedpublic final class PropertyCache<T>
extends java.lang.Object
Constructor | Description |
---|---|
PropertyCache() |
Creates a new cache.
|
Modifier and Type | Method | Description |
---|---|---|
T |
fetch(T obj) |
Returns a cached version of the given object.
|
public PropertyCache()
fetch(Object)
method will simply
return its argument. To enable the cache, set this property to "true"
(case insensitive).Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.