|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object freemarker.template.expression.ExpressionCache
public final class ExpressionCache
A simple expression cache. All keys and values are stored as WeakReference objects, allowing cached items to be freed in low-memory situations.
Method Summary | |
---|---|
static Expression |
cacheExpression(Expression expr)
Resolves the current expression, possibly into a different expression object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Expression cacheExpression(Expression expr)
readResolve
method. Situations where this may be used are:
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |