Uses of Interface
org.immutables.ordinal.OrdinalValue
Packages that use OrdinalValue
-
Uses of OrdinalValue in org.immutables.ordinal
Classes in org.immutables.ordinal with type parameters of type OrdinalValueModifier and TypeClassDescriptionclassImmutableOrdinalSet<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.static final classImmutableOrdinalSet.Builder<E extends OrdinalValue<E>>Build instances ofImmutableOrdinalSet.private static classImmutableOrdinalSet.EmptyImmutableOrdinalSet<E extends OrdinalValue<E>>private static classImmutableOrdinalSet.RegularImmutableOrdinalSet<E extends OrdinalValue<E>>private static classImmutableOrdinalSet.SingletonImmutableOrdinalSet<E extends OrdinalValue<E>>classInterningOrdinalDomain<S,E extends OrdinalValue<E>> classOrdinalDomain<E extends OrdinalValue<E>>Ordinal domain represent (potentially growing) set of objects of some kind (amongE) which has distinct and contiguous range ofordinalvalues.interfaceOrdinalValue<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.Fields in org.immutables.ordinal declared as OrdinalValueModifier and TypeFieldDescriptionprivate final EImmutableOrdinalSet.SingletonImmutableOrdinalSet.elementMethods in org.immutables.ordinal with type parameters of type OrdinalValueModifier and TypeMethodDescriptionstatic <E extends OrdinalValue<E>>
ImmutableOrdinalSet.Builder<E> ImmutableOrdinalSet.builder()Build instances ofImmutableOrdinalSet.private static <E extends OrdinalValue<E>>
ImmutableOrdinalSet<E> ImmutableOrdinalSet.constructFromArray(OrdinalValue<?>[] array) static <E extends OrdinalValue<E>>
ImmutableOrdinalSet<E> ImmutableOrdinalSet.copyOf(E[] elements) Creates immutable ordinal set from array of elements.static <E extends OrdinalValue<E>>
ImmutableOrdinalSet<E> Creates immutable ordinal set from iterable of elements.static <E extends OrdinalValue<E>>
ImmutableOrdinalSet<E> ImmutableOrdinalSet.of()Returns singleton empty immutable ordinal setstatic <E extends OrdinalValue<E>>
ImmutableOrdinalSet<E> ImmutableOrdinalSet.of(E first, E... rest) Creates immutable ordinal set from 1 or more elements.Methods in org.immutables.ordinal with parameters of type OrdinalValueModifier and TypeMethodDescriptionprivate static <E extends OrdinalValue<E>>
ImmutableOrdinalSet<E> ImmutableOrdinalSet.constructFromArray(OrdinalValue<?>[] array) static <E extends OrdinalValue<E>>
ImmutableOrdinalSet<E> ImmutableOrdinalSet.copyOf(E[] elements) Creates immutable ordinal set from array of elements.private voidImmutableOrdinalSet.RegularImmutableOrdinalSet.fillVector(OrdinalValue<?>[] elements) static <E extends OrdinalValue<E>>
ImmutableOrdinalSet<E> ImmutableOrdinalSet.of(E first, E... rest) Creates immutable ordinal set from 1 or more elements.Constructors in org.immutables.ordinal with parameters of type OrdinalValueModifierConstructorDescription(package private)RegularImmutableOrdinalSet(OrdinalDomain<E> domain, OrdinalValue<?>[] elements)