-
- All Known Subinterfaces:
EntryBuilder<K,V,O>
- All Known Implementing Classes:
AbstractRecordOutlet
,AbstractRecordStreamlet
,DownlinkRecord
,DownlinkStreamlet
,ListDownlinkRecord
,MapDownlinkRecord
,Record
,RecordModel
,RecordScope
,RecordStreamlet
,UriPathBuilder
,UriQueryBuilder
,ValueDownlinkRecord
public interface Builder<I,O>
Type that accumulates input values of typeI
, and binds an output result of typeO
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
add(I input)
Adds a single input value to this builder, returningtrue
if the state of the builder changed.boolean
addAll(Collection<? extends I> inputs)
Adds multiple input values 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(I input)
Adds a single input value to this builder, returningtrue
if the state of the builder changed.
-
addAll
boolean addAll(Collection<? extends I> inputs)
Adds multiple input values to this builder, returningtrue
if the state of the builder changed.
-
bind
O bind()
Returns the output result of this builder.
-
-