Type Hierarchy:

- Anything
  - Object
    - Basic
      - SequenceBuilder<Element>

Direct Known Subclasses: SequenceAppender<Element>
All Known Subtypes Hierarchy

- SequenceBuilder
  - SequenceAppender

Since sequences are immutable, this class is used for constructing a new sequence by incrementally appending elements to the empty sequence. This class is mutable but threadsafe.

See also: SequenceAppender, concatenate, Singleton

Initializer
SequenceBuilder()

Attributes
empty | Source Code shared Boolean empty Determine if the resulting sequence is empty.
sequence | Source Code shared default Element[] sequence The resulting sequence. If no elements have been appended, the empty sequence.
size | Source Code shared Integer size The size of the resulting sequence.

Inherited Attributes
Attributes inherited from: Object hash, string

Methods
append | Source Code shared SequenceBuilder<Element> append(Element element) Append an element to the sequence and return this `SequenceBuilder`
appendAll | Source Code shared default SequenceBuilder<Element> appendAll({Element*} elements) Append multiple elements to the sequence and return this `SequenceBuilder`

Inherited Methods
Methods inherited from: Object equals