Uses of Interface
org.immutables.ordinal.OrdinalValue
-
Packages that use OrdinalValue Package Description org.immutables.ordinal -
-
Uses of OrdinalValue in org.immutables.ordinal
Classes in org.immutables.ordinal with type parameters of type OrdinalValue Modifier and Type Class Description classImmutableOrdinalSet<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 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 OrdinalValue Modifier and Type Field Description private EImmutableOrdinalSet.SingletonImmutableOrdinalSet. elementMethods in org.immutables.ordinal with type parameters of type OrdinalValue Modifier and Type Method Description static <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>ImmutableOrdinalSet. copyOf(java.lang.Iterable<? extends E> elements)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 OrdinalValue Modifier and Type Method Description 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.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 OrdinalValue Constructor Description RegularImmutableOrdinalSet(OrdinalDomain<E> domain, OrdinalValue<?>[] elements)
-