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 TypeMethodDescriptionboolean
containsKey(Object key)
entrySet()
boolean
isEmpty()
int
size()
Methods inherited from class java.util.AbstractMap
clear, clone, containsValue, equals, hashCode, keySet, put, putAll, remove, toString, values
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Method Details
-
getTemplateModel
- Specified by:
getTemplateModel
in interfaceTemplateModelAdapter
- Returns:
- the template model this object is wrapping.
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceMap
- Overrides:
isEmpty
in classAbstractMap
-
size
public int size()- Specified by:
size
in interfaceMap
- Overrides:
size
in classAbstractMap
-
get
- Specified by:
get
in interfaceMap
- Overrides:
get
in classAbstractMap
-
containsKey
- Specified by:
containsKey
in interfaceMap
- Overrides:
containsKey
in classAbstractMap
-
entrySet
- Specified by:
entrySet
in interfaceMap
- Specified by:
entrySet
in classAbstractMap
-