Package org.immutables.ordinal
@ParametersAreNonnullByDefault
package org.immutables.ordinal
-
ClassDescriptionImmutableOrdinalSet<E extends OrdinalValue<E>>Immutable set that take advantage of elements being an
OrdinalValues to provide compact storage and efficientSet.contains(Object)andSet.containsAll(Collection)operations.ImmutableOrdinalSet.Builder<E extends OrdinalValue<E>>Build instances ofImmutableOrdinalSet.ImmutableOrdinalSet.EmptyImmutableOrdinalSet<E extends OrdinalValue<E>>ImmutableOrdinalSet.RegularImmutableOrdinalSet<E extends OrdinalValue<E>>ImmutableOrdinalSet.SingletonImmutableOrdinalSet<E extends OrdinalValue<E>>InterningOrdinalDomain<S,E extends OrdinalValue<E>> OrdinalDomain<E extends OrdinalValue<E>>Ordinal domain represent (potentially growing) set of objects of some kind (amongE) which has distinct and contiguous range ofordinalvalues.OrdinalValue<E extends OrdinalValue<E>>Objects implementing this interface has stable ordinal attribute that could be used to arrange these object among other elements of the same type.