Class ProtectedBindings
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,Object>
org.apache.sling.api.scripting.LazyBindings
org.apache.sling.scripting.core.impl.helper.ProtectedBindings
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.sling.api.scripting.LazyBindings
LazyBindings.SupplierNested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()The clear operation is not supported.booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()Returns a Set view of the mappings contains in this map.booleaninthashCode()booleanisEmpty()keySet()Returns a Set view of the keys contained in this map.voidintsize()@NotNull Collection<Object>values()Returns a Collection view of the values contained in this map.Methods inherited from class org.apache.sling.api.scripting.LazyBindings
getOrDefaultMethods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, forEach, merge, putIfAbsent, remove, replace, replace, replaceAllMethods inherited from class java.util.AbstractMap
toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
ProtectedBindings
-
-
Method Details
-
put
- Specified by:
putin interfaceBindings- Specified by:
putin interfaceMap<String,Object> - Overrides:
putin classLazyBindings- Throws:
IllegalArgumentException- if the key is protected
-
putAll
-
remove
- Specified by:
removein interfaceBindings- Specified by:
removein interfaceMap<String,Object> - Overrides:
removein classLazyBindings- Throws:
IllegalArgumentException- if the key is protected
-
clear
public void clear()The clear operation is not supported. -
containsValue
- Specified by:
containsValuein interfaceMap<String,Object> - Overrides:
containsValuein classHashMap<String,Object>
-
entrySet
Returns a Set view of the mappings contains in this map. The Set is unmodifiable. -
isEmpty
public boolean isEmpty() -
keySet
Returns a Set view of the keys contained in this map. The Set is unmodifiable. -
size
public int size() -
values
Returns a Collection view of the values contained in this map. The Collection is unmodifiable. -
containsKey
- Specified by:
containsKeyin interfaceBindings- Specified by:
containsKeyin interfaceMap<String,Object> - Overrides:
containsKeyin classLazyBindings
-
get
-
hashCode
public int hashCode() -
equals
-