Package generic

Enum Class End.Unbound

All Implemented Interfaces:
End<Void>, Serializable, Comparable<End.Unbound>, Constable
Enclosing interface:
End<T>

public static enum End.Unbound extends Enum<End.Unbound> implements End<Void>
An enum for the two values of infinity
  • Enum Constant Details

  • Method Details

    • values

      public static End.Unbound[] 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

      public static End.Unbound valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • inc

      public End<Void> inc()
      Description copied from interface: End
      Increment this endpoint, only by changing the coefficient of epsilon
      Specified by:
      inc in interface End<Void>
      Returns:
      the resulting endpoint
    • dec

      public End<Void> dec()
      Description copied from interface: End
      Decrement this endpoint, only by changing the coefficient of epsilon
      Specified by:
      dec in interface End<Void>
      Returns:
      the resulting endpoint
    • isInclusive

      public boolean isInclusive()
      Description copied from interface: End
      Check if this endpoint includes its value
      Specified by:
      isInclusive in interface End<Void>
      Returns:
      true if included