Interface Builder<Element,​TargetCollection>

Type Parameters:
Element - The type of the elements in the target collection.
TargetCollection - The complete, parameterized type of the target collection.
All Superinterfaces:
Collector<Element,​Builder<Element,​TargetCollection>,​TargetCollection>, Iterable<Element>
All Known Implementing Classes:
AbstractBuilder, ArrayMapBuilder, SeqBuilder, SetBuilder

public interface Builder<Element,​TargetCollection>
extends Iterable<Element>, Collector<Element,​Builder<Element,​TargetCollection>,​TargetCollection>
Builds up a collection made up of elements of type Element.