Package generic
Enum Class End.Unbound
- All Implemented Interfaces:
End<Void>,Serializable,Comparable<End.Unbound>,Constable
An enum for the two values of infinity
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface generic.End
End.EndDomain<N,S extends End.EndSpan<N, S>>, End.EndSpan<N, S extends End.EndSpan<N, S>>, End.Epsilon, End.Point<T>, End.Unbound -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiondec()Decrement this endpoint, only by changing the coefficient of epsiloninc()Increment this endpoint, only by changing the coefficient of epsilonbooleanCheck if this endpoint includes its valuestatic End.UnboundReturns the enum constant of this class with the specified name.static End.Unbound[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface generic.End
compareTo, isValidMax, isValidMin, toMaxString, toMinString
-
Enum Constant Details
-
NEG_INF
-
POS_INF
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
inc
Description copied from interface:EndIncrement this endpoint, only by changing the coefficient of epsilon -
dec
Description copied from interface:EndDecrement this endpoint, only by changing the coefficient of epsilon -
isInclusive
public boolean isInclusive()Description copied from interface:EndCheck if this endpoint includes its value- Specified by:
isInclusivein interfaceEnd<Void>- Returns:
- true if included
-