Enum EndpointDescriptors

    • Enum Constant Detail

      • LOWER_ENDPOINT_CLOSED

        public static final EndpointDescriptors LOWER_ENDPOINT_CLOSED
        Lower closed end point of a range.
      • LOWER_ENDPOINT_OPEN

        public static final EndpointDescriptors LOWER_ENDPOINT_OPEN
        Lower open end point of a range.
      • NEGATIVE_INFINITY

        public static final EndpointDescriptors NEGATIVE_INFINITY
        Minus infinity for a half open or open range.
      • POSITIVE_INFINITY

        public static final EndpointDescriptors POSITIVE_INFINITY
        Positive infinity for a half open or open range.
      • UPPER_ENDPOINT_CLOSED

        public static final EndpointDescriptors UPPER_ENDPOINT_CLOSED
        Upper closed end point of a range.
      • UPPER_ENDPOINT_OPEN

        public static final EndpointDescriptors UPPER_ENDPOINT_OPEN
        Upper open end point of a range.
    • Method Detail

      • values

        public static EndpointDescriptors[] 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 (EndpointDescriptors c : EndpointDescriptors.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EndpointDescriptors valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • lower

        public static EndpointDescriptor lower​(com.google.common.collect.BoundType boundType)
        Parameters:
        boundType - A bound type to use.
        Returns:
        A lower end point descriptor for the given bound type.
      • lower

        public static EndpointDescriptor lower​(com.google.common.collect.Range<?> range)
        Parameters:
        range - A range to check.
        Returns:
        An end point descriptor for the lower end point of the given range.
      • upper

        public static EndpointDescriptor upper​(com.google.common.collect.BoundType boundType)
        Parameters:
        boundType - A bound type to use.
        Returns:
        An upper end point descriptor for the given bound type.
      • upper

        public static EndpointDescriptor upper​(com.google.common.collect.Range<?> range)
        Parameters:
        range - A range to check.
        Returns:
        An end point descriptor for the upper end point of the given range.