Uses of Class
com.google.mu.util.Ordinal
Packages that use Ordinal
- 
Uses of Ordinal in com.google.mu.util
Classes in com.google.mu.util that implement interfaces with type arguments of type OrdinalModifier and TypeClassDescriptionfinal classThis class provides type-safe transition between 1-based Ordinal and 0-based indexes that are commonly used to index arrays and lists.Fields in com.google.mu.util declared as OrdinalMethods in com.google.mu.util that return OrdinalModifier and TypeMethodDescriptionstatic OrdinalOrdinal.first()Returns the first ordinal.static OrdinalOrdinal.fromIndex(int zeroBased) Returns instance corresponding to thezeroBasedindex.Ordinal.next()Returns the next ordinal.static OrdinalOrdinal.of(int oneBased) Returns instance corresponding to theoneBasednumber.static OrdinalReturns instance corresponding to the ordinal of the Enum objecte.Ordinal.previous()Returns the previous ordinal.static OrdinalOrdinal.second()Returns the second ordinal.Methods in com.google.mu.util that return types with arguments of type OrdinalModifier and TypeMethodDescriptionOrdinal.natural()Returns the infinite stream of natural ordinals starting from "1st".Methods in com.google.mu.util with parameters of type Ordinal