Class SimpleBindings
java.lang.Object
javax.script.SimpleBindings
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor uses aHashMap
.Constructor uses an existingMap
to store the values. -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Removes all of the mappings from this map (optional operation).boolean
containsKey
(Object key) Returnstrue
if this map contains a mapping for the specified key.boolean
containsValue
(Object value) Returnstrue
if this map maps one or more keys to the specified value.entrySet()
Returns aSet
view of the mappings contained in this map.Returns the value to which this map maps the specified key.boolean
isEmpty()
Returnstrue
if this map contains no key-value mappings.keySet()
Returns aSet
view of the keys contained in this map.Sets the specified key/value in the underlyingmap
field.void
putAll
is implemented usingMap.putAll
.Removes the mapping for this key from this map if it is present (optional operation).int
size()
Returns the number of key-value mappings in this map.values()
Returns aCollection
view of the values contained in this map.Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods declared in interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault,