Uses of Class
com.google.mu.util.Ordinal
Packages that use Ordinal
-
Uses of Ordinal in com.google.mu.util
Fields in com.google.mu.util declared as OrdinalMethods in com.google.mu.util that return OrdinalModifier and TypeMethodDescriptionstatic Ordinal
Ordinal.first()
Returns the first ordinal.static Ordinal
Ordinal.fromIndex
(int zeroBased) Returns instance corresponding to thezeroBased
index.Ordinal.next()
Returns the next ordinal.static Ordinal
Ordinal.of
(int oneBased) Returns instance corresponding to theoneBased
number.static Ordinal
Returns instance corresponding to the ordinal of the Enum objecte
.Ordinal.previous()
Returns the previous ordinal.static Ordinal
Ordinal.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