public class MutableBindings extends Bindings
Bindings.Binding| Constructor and Description |
|---|
MutableBindings(BindMarkers markers)
Create new
MutableBindings. |
| Modifier and Type | Method and Description |
|---|---|
MutableBindings |
bind(BindMarker marker,
Object value)
Bind a value to
BindMarker. |
BindMarker |
bind(Object value)
Bind a value and return the related
BindMarker. |
MutableBindings |
bindNull(BindMarker marker,
Class<?> valueType)
Bind a
NULL value to BindMarker. |
BindMarker |
bindNull(Class<?> valueType)
Bind a
NULL value and return the related BindMarker. |
BindMarker |
nextMarker()
Obtain the next
BindMarker. |
BindMarker |
nextMarker(String hint)
Obtain the next
BindMarker with a name hint. |
and, apply, empty, forEach, getBindings, iterator, merge, spliteratorpublic MutableBindings(BindMarkers markers)
MutableBindings.markers - the BindMarkers to wrappublic BindMarker nextMarker()
BindMarker.
Increments BindMarkers stateBindMarkerpublic BindMarker nextMarker(String hint)
hint - name hintBindMarkerpublic MutableBindings bind(BindMarker marker, Object value)
BindMarker.marker - the BindMarker to bind tovalue - the value to bindpublic BindMarker bind(Object value)
BindMarker.
Increments BindMarkers state.value - the value to bindpublic MutableBindings bindNull(BindMarker marker, Class<?> valueType)
NULL value to BindMarker.marker - the BindMarker to bind tovalueType - the value typepublic BindMarker bindNull(Class<?> valueType)
valueType - the value type