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 AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsKey(Object key) entrySet()booleanisEmpty()intsize()Methods inherited from class AbstractMap
clear, clone, containsValue, equals, hashCode, keySet, put, putAll, remove, toString, valuesMethods inherited from interface 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
-
containsKey
- Specified by:
containsKeyin interfaceMap- Overrides:
containsKeyin classAbstractMap
-
entrySet
- Specified by:
entrySetin interfaceMap- Specified by:
entrySetin classAbstractMap
-