Modifier and Type | Method and Description |
---|---|
Domain<T> |
SmallDomainBitSet.getDomain() |
Domain<T> |
GeneralDomainBitSet.getDomain() |
Domain<E> |
EnumBitSet.getDomain()
The Domain containing all elements of the enum type.
|
Domain<T> |
DomainBitSet.getDomain()
Returns a distinct list, containing all elements of the domain.
|
static <T> Domain<T> |
Domain.of(Collection<? extends T> elements)
Creates a Domain of the given elements. if the given collection is a Domain then the same
reference is refurned.
|
static <T> Domain<T> |
Domain.of(T... elements)
Creates a Domain of the given elements.
|
Modifier and Type | Method and Description |
---|---|
default <S> DomainBitSet<S> |
DomainBitSet.map(Domain<S> domain)
Returns a new set with elements of a given domain, containing all mapped elements.
|
<S> DomainBitSet<S> |
EnumBitSet.map(Domain<S> newDomain,
Function<E,S> mapper)
Returns a new set with elements of a given domain, containing all mapped elements.
|
default <S> DomainBitSet<S> |
DomainBitSet.map(Domain<S> domain,
Function<T,S> mapper)
Returns a new set with elements of a given domain, containing all mapped elements.
|
static <T> Collector<T,Set<T>,DomainBitSet<T>> |
BitSetUtilities.toDomainBitSet(Domain<T> domain)
Collector to convert a
Stream to a DomainBitSet . |