-
- All Superinterfaces:
Builder<Map.Entry<K,V>,O>
,PairBuilder<K,V,O>
- All Known Implementing Classes:
UriQueryBuilder
public interface EntryBuilder<K,V,O> extends PairBuilder<K,V,O>, Builder<Map.Entry<K,V>,O>
Type that accumulates map entries, and binds an output result of typeO
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
add(Map.Entry<K,V> input)
Adds a single entry to this builder, returningtrue
if the state of the builder changed.boolean
add(K key, V value)
Adds an input pair to this builder, returningtrue
if the state of the builder changed.boolean
addAll(Collection<? extends Map.Entry<K,V>> inputs)
Adds multiple entries to this builder, returningtrue
if the state of the builder changed.boolean
addAll(Map<? extends K,? extends V> inputs)
Adds multiple entries to this builder, returningtrue
if the state of the builder changed.O
bind()
Returns the output result of this builder.
-
-
-
Method Detail
-
add
boolean add(K key, V value)
Adds an input pair to this builder, returningtrue
if the state of the builder changed.- Specified by:
add
in interfacePairBuilder<K,V,O>
-
add
boolean add(Map.Entry<K,V> input)
Adds a single entry to this builder, returningtrue
if the state of the builder changed.
-
addAll
boolean addAll(Collection<? extends Map.Entry<K,V>> inputs)
Adds multiple entries to this builder, returningtrue
if the state of the builder changed.
-
addAll
boolean addAll(Map<? extends K,? extends V> inputs)
Adds multiple entries to this builder, returningtrue
if the state of the builder changed.
-
-