Package org.midheaven.collections
Class ResizableDistinctAssortmentBuilder
java.lang.Object
org.midheaven.collections.ResizableDistinctAssortmentBuilder
Builder for Resizable Distinct Assortment instances.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> ResizableDistinctAssortment<T> empty()Returns an empty instance.<T> ResizableDistinctAssortment<T> Creates an instance from the provided source.final <T> ResizableDistinctAssortment<T> of(T... values) Creates an instance from the provided value.
-
Constructor Details
-
ResizableDistinctAssortmentBuilder
public ResizableDistinctAssortmentBuilder()
-
-
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
-
from
Creates an instance from the provided source.- Parameters:
origin- the origin value- Returns:
- the result of from
-