null bindings
for a Statement using BindMarkers.
Bindings are typically immutable.
| Modifier and Type | Class and Description |
|---|---|
| public abstract static class | Bindings.
Base class for value objects representing a value or a |
| pack-priv static class | Bindings.
|
| pack-priv static class | Bindings.
Value binding. |
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private static final Bindings |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Bindings | |
| public void | |
| public static Bindings | |
| public void | |
| protected Map | |
| public Iterator | |
| public static Bindings | |
| public Spliterator | spliterator()
Overrides default java. Spliterator over the elements described by this
Iterable.
|
| bindings | back to summary |
|---|---|
| private final Map<BindMarker, Bindings. | |
| EMPTY | back to summary |
|---|---|
| private static final Bindings EMPTY | |
| Bindings | back to summary |
|---|---|
| public Bindings() Create empty | |
| Bindings | back to summary |
|---|---|
| public Bindings(Collection<Bindings. Create
| |
| Bindings | back to summary |
|---|---|
| pack-priv Bindings(Map<BindMarker, Bindings. | |
| and | back to summary |
|---|---|
| public Bindings and(Bindings other) Merge this bindings with an other | |
| apply | back to summary |
|---|---|
| public void apply(BindTarget bindTarget) Apply the bindings to a
| |
| empty | back to summary |
|---|---|
| public static Bindings empty() Return an empty | |
| forEach | back to summary |
|---|---|
| public void forEach(Consumer<? super Bindings. Overrides default java. Perform the given action for each binding of this | |
| getBindings | back to summary |
|---|---|
| protected Map | |
| iterator | back to summary |
|---|---|
| public Iterator Implements java. Doc from java. Returns an iterator over elements of type | |
| merge | back to summary |
|---|---|
| public static Bindings merge(Bindings left, Bindings right) Merge this bindings with an other | |
| spliterator | back to summary |
|---|---|
| public Spliterator Overrides default java. Doc from java. Creates a
| |
NULL binding.
| Modifier and Type | Field and Description |
|---|---|
| private final BindMarker |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public abstract void | |
| public BindMarker | |
| public abstract Object | Returns: the value of this binding (can benull if this is a NULL binding)Return the binding value. |
| public abstract boolean | Returns: true if there is a value present,
otherwise false for a NULL bindingReturn whether the binding has a value associated with it. |
| public boolean |
| marker | back to summary |
|---|---|
| private final BindMarker marker | |
| Binding | back to summary |
|---|---|
| protected Binding(BindMarker marker) | |
| apply | back to summary |
|---|---|
| public abstract void apply(BindTarget bindTarget) Apply the binding to a
| |
| getBindMarker | back to summary |
|---|---|
| public BindMarker getBindMarker() Return the associated | |
| getValue | back to summary |
|---|---|
| public abstract Object getValue() Return the binding value. | |
| hasValue | back to summary |
|---|---|
| public abstract boolean hasValue() Return whether the binding has a value associated with it.
| |
| isNull | back to summary |
|---|---|
| public boolean isNull() Return whether the binding is empty.
| |
NULL binding.
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | apply(BindTarget
the target to apply bindings to bindTarget)Implements abstract org. BindTarget.
|
| public Object | getValue()
Implements abstract org. |
| public Class | |
| public boolean | hasValue()
Implements abstract org. |
| valueType | back to summary |
|---|---|
| private final Class<?> valueType | |
| NullBinding | back to summary |
|---|---|
| pack-priv NullBinding(BindMarker marker, Class<?> valueType) | |
| apply | back to summary |
|---|---|
| public void apply(BindTarget bindTarget) Implements abstract org. Doc from org. Apply the binding to a
| |
| getValue | back to summary |
|---|---|
| public Object getValue() Implements abstract org. Doc from org. Return the binding value. | |
| getValueType | back to summary |
|---|---|
| public Class | |
| hasValue | back to summary |
|---|---|
| public boolean hasValue() Implements abstract org. Doc from org. Return whether the binding has a value associated with it.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | apply(BindTarget
the target to apply bindings to bindTarget)Implements abstract org. BindTarget.
|
| public Object | getValue()
Implements abstract org. |
| public boolean | hasValue()
Implements abstract org. |
| value | back to summary |
|---|---|
| private final Object value | |
| ValueBinding | back to summary |
|---|---|
| pack-priv ValueBinding(BindMarker marker, Object value) | |
| apply | back to summary |
|---|---|
| public void apply(BindTarget bindTarget) Implements abstract org. Doc from org. Apply the binding to a
| |
| getValue | back to summary |
|---|---|
| public Object getValue() Implements abstract org. Doc from org. Return the binding value. | |
| hasValue | back to summary |
|---|---|
| public boolean hasValue() Implements abstract org. Doc from org. Return whether the binding has a value associated with it.
| |