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.
| Initializer |
| SequenceBuilder() |
| Attributes | |
| empty | Source Code shared Boolean empty Determine if the resulting sequence is empty. |
| sequence | Source Code 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 |
| Methods | |
| append | Source Code Append an element to the sequence and return this
|
| appendAll | Source Code Append multiple elements to the sequence and return
this |
| Inherited Methods |
| Methods inherited from: Object |