Package org.midheaven.collections
Class EditableSequenceBuilder
java.lang.Object
org.midheaven.collections.EditableSequenceBuilder
Builder for Editable Sequence instances.
-
Method Summary
Modifier and TypeMethodDescription<U> EditableSequence<U> empty()Returns an empty instance.<T> EditableSequence<T> Creates an instance from the provided source.<U> EditableSequence<U> of(U... values) Creates an instance from the provided value.<U> EditableSequence<U> repeat(U value) Performs repeat.
-
Method Details
-
empty
Returns an empty instance.- Returns:
- the result of empty
-
of
Creates an instance from the provided value.- Parameters:
values- the values value- Returns:
- the result of of
-
repeat
Performs repeat.- Parameters:
value- the value value- Returns:
- the result of repeat
-
from
Creates an instance from the provided source.- Parameters:
origin- the origin value- Returns:
- the result of from
-