public final class MapBindings extends java.lang.Object implements Bindings, java.lang.Iterable<EntryBindings>
Bindings based on the content of a Map.| Modifier and Type | Class and Description |
|---|---|
static class |
MapBindings.Builder |
| Constructor and Description |
|---|
MapBindings(java.util.Map<java.lang.String,java.lang.Object> values) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEmpty()
Returns whether these Bindings contain any values.
|
java.util.Iterator<EntryBindings> |
iterator() |
static MapBindings.Builder |
newBuilder() |
java.lang.Object |
resolve(java.lang.String key)
Returns a value for the given key or
null if no such key exists in these Bindings. |
public MapBindings(java.util.Map<java.lang.String,java.lang.Object> values)
public static MapBindings.Builder newBuilder()
public java.lang.Object resolve(@Nonnull
java.lang.String key)
Bindingsnull if no such key exists in these Bindings.public boolean isEmpty()
Bindingspublic java.util.Iterator<EntryBindings> iterator()
iterator in interface java.lang.Iterable<EntryBindings>