interface ListCreators
undocumented
Extends: ListFactory
Methods
builder
Returns an empty List Builder based on this context.
builder
createContext
Returns a new List.Creators
instance using the provided options.
createContext
List.Creators
instance using the provided options.defaultContext
Returns the default List.Context
instance.
defaultContext
List.Context
instance.empty
Returns the (singleton) empty List for this context with given value type.
empty
flatten
Returns, if T is a valid StreamSource
, the result of concatenating all streamable elements of the given sources.
flatten
StreamSource
, the result of concatenating all streamable elements of the given sources.from
Returns an immutable set of this collection type and context, containing the given values in source
.
from
source
.fromString
Returns a List of characters from the given strings in sources
.
fromString
sources
.of
Returns an immutable set of this type and context, containing the given values
.
of
values
.reducer
Returns a Reducer
that appends received items to a List and returns the List as a result. When a source
is given, the reducer will first create a List from the source, and then append elements to it.
reducer
Reducer
that appends received items to a List and returns the List as a result. When a source
is given, the reducer will first create a List from the source, and then append elements to it.unzip
Returns an array of Lists, where each list contains the values of the corresponding index of tuple T.
unzip