@ParametersAreNonnullByDefault
Package org.immutables.ordinal
-
Interface Summary Interface Description 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. -
Class Summary Class Description ImmutableOrdinalSet<E extends OrdinalValue<E>> Immutable set that take advantage of elements being anOrdinalValues 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.