public class VariablesMap<K,V> extends HashMap<K,V>
Special implementation of the Map
interface that
will be used for containing context variables in IContext
implementations.
Constructors in this class mimic those in HashMap
and
have the same meaning.
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
VariablesMap() |
VariablesMap(int initialCapacity) |
VariablesMap(int initialCapacity,
float loadFactor) |
VariablesMap(Map<? extends K,? extends V> m) |
Modifier and Type | Method and Description |
---|---|
VariablesMap<K,V> |
clone() |
V |
get(Object key) |
List<IContextVariableRestriction> |
getRestrictions() |
void |
setRestrictions(List<IContextVariableRestriction> restrictions) |
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
public VariablesMap()
public VariablesMap(int initialCapacity, float loadFactor)
public VariablesMap(int initialCapacity)
public List<IContextVariableRestriction> getRestrictions()
public void setRestrictions(List<IContextVariableRestriction> restrictions)
Copyright © 2016 The THYMELEAF team. All rights reserved.