Package freemarker.ext.beans
Class HashAdapter
java.lang.Object
java.util.AbstractMap
freemarker.ext.beans.HashAdapter
- All Implemented Interfaces:
TemplateModelAdapter,Map
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object> -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsKey(Object key)entrySet()booleanisEmpty()intsize()Methods inherited from class java.util.AbstractMap
clear, clone, containsValue, equals, hashCode, keySet, put, putAll, remove, toString, valuesMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Method Details
-
getTemplateModel
- Specified by:
getTemplateModelin interfaceTemplateModelAdapter- Returns:
- the template model this object is wrapping.
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceMap- Overrides:
isEmptyin classAbstractMap
-
size
public int size()- Specified by:
sizein interfaceMap- Overrides:
sizein classAbstractMap
-
get
- Specified by:
getin interfaceMap- Overrides:
getin classAbstractMap
-
containsKey
- Specified by:
containsKeyin interfaceMap- Overrides:
containsKeyin classAbstractMap
-
entrySet
- Specified by:
entrySetin interfaceMap- Specified by:
entrySetin classAbstractMap
-