Package glide.api.models.commands
Enum RangeOptions.InfScoreBound
- java.lang.Object
-
- java.lang.Enum<RangeOptions.InfScoreBound>
-
- glide.api.models.commands.RangeOptions.InfScoreBound
-
- All Implemented Interfaces:
RangeOptions.ScoreRange,java.io.Serializable,java.lang.Comparable<RangeOptions.InfScoreBound>
- Enclosing class:
- RangeOptions
public static enum RangeOptions.InfScoreBound extends java.lang.Enum<RangeOptions.InfScoreBound> implements RangeOptions.ScoreRange
Enumeration representing numeric positive and negative infinity bounds for a sorted set.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NEGATIVE_INFINITYPOSITIVE_INFINITY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoArgs()static RangeOptions.InfScoreBoundvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static RangeOptions.InfScoreBound[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
POSITIVE_INFINITY
public static final RangeOptions.InfScoreBound POSITIVE_INFINITY
-
NEGATIVE_INFINITY
public static final RangeOptions.InfScoreBound NEGATIVE_INFINITY
-
-
Method Detail
-
values
public static RangeOptions.InfScoreBound[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RangeOptions.InfScoreBound c : RangeOptions.InfScoreBound.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RangeOptions.InfScoreBound valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
toArgs
public java.lang.String toArgs()
- Specified by:
toArgsin interfaceRangeOptions.ScoreRange
-
-