Enum EndpointAccessorsRange

    • Enum Constant Detail

      • LOWER_ENDPOINT

        public static final EndpointAccessorsRange LOWER_ENDPOINT
        Accessor for the lower end point of a range. The BoundType is preserved.
      • LOWER_ENDPOINT_CLOSED

        public static final EndpointAccessorsRange LOWER_ENDPOINT_CLOSED
        Accessor for the lower end point of a range. The BoundType is changed to BoundType.CLOSED.
      • LOWER_ENDPOINT_INVERTED

        public static final EndpointAccessorsRange LOWER_ENDPOINT_INVERTED
        Accessor for the lower end point of a range. The BoundType is flipped (BoundType.CLOSED. becomes BoundType.OPEN and vice-versa).
      • LOWER_ENDPOINT_OPEN

        public static final EndpointAccessorsRange LOWER_ENDPOINT_OPEN
        Accessor for the lower end point of a range. The BoundType is changed to BoundType.OPEN.
      • UPPER_ENDPOINT

        public static final EndpointAccessorsRange UPPER_ENDPOINT
        Accessor for the upper end point of a range. The BoundType is preserved.
      • UPPER_ENDPOINT_CLOSED

        public static final EndpointAccessorsRange UPPER_ENDPOINT_CLOSED
        Accessor for the upper end point of a range. The BoundType is changed to BoundType.CLOSED.
      • UPPER_ENDPOINT_INVERTED

        public static final EndpointAccessorsRange UPPER_ENDPOINT_INVERTED
        Accessor for the upper end point of a range. The BoundType is flipped (BoundType.CLOSED becomes BoundType.OPEN and vice-versa).
      • UPPER_ENDPOINT_OPEN

        public static final EndpointAccessorsRange UPPER_ENDPOINT_OPEN
        Accessor for the upper end point of a range. The BoundType is changed to BoundType.OPEN.
    • Method Detail

      • values

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

        public static EndpointAccessorsRange 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
      • lowerEndpoint

        public static <C extends ComparableEndpointAccessor<com.google.common.collect.Range<C>,​C> lowerEndpoint()
        Type Parameters:
        C - Type of the range's end points.
        Returns:
        Accessor for the lower end point of a range. The BoundType is preserved.
      • lowerEndpointClosed

        public static <C extends ComparableEndpointAccessor<com.google.common.collect.Range<C>,​C> lowerEndpointClosed()
        Type Parameters:
        C - Type of the range's end points.
        Returns:
        Accessor for the lower end point of a range. The BoundType is changed to BoundType.CLOSED.
      • lowerEndpointInverted

        public static <C extends ComparableEndpointAccessor<com.google.common.collect.Range<C>,​C> lowerEndpointInverted()
        Type Parameters:
        C - Type of the range's end points.
        Returns:
        Accessor for the lower end point of a range. The BoundType is flipped (BoundType.CLOSED. becomes BoundType.OPEN and vice-versa).
      • lowerEndpointOpen

        public static <C extends ComparableEndpointAccessor<com.google.common.collect.Range<C>,​C> lowerEndpointOpen()
        Type Parameters:
        C - Type of the range's end points.
        Returns:
        Accessor for the lower end point of a range. The BoundType is changed to BoundType.OPEN.
      • upperEndpoint

        public static <C extends ComparableEndpointAccessor<com.google.common.collect.Range<C>,​C> upperEndpoint()
        Returns:
        Accessor for the upper end point of a range. The BoundType is preserved.
      • upperEndpointClosed

        public static <C extends ComparableEndpointAccessor<com.google.common.collect.Range<C>,​C> upperEndpointClosed()
        Type Parameters:
        C - Type of the range's end points.
        Returns:
        Accessor for the upper end point of a range. The BoundType is changed to BoundType.CLOSED.
      • upperEndpointInverted

        public static <C extends ComparableEndpointAccessor<com.google.common.collect.Range<C>,​C> upperEndpointInverted()
        Type Parameters:
        C - Type of the range's end points.
        Returns:
        Accessor for the upper end point of a range. The BoundType is flipped (BoundType.CLOSED becomes BoundType.OPEN and vice-versa).
      • upperEndpointOpen

        public static <C extends ComparableEndpointAccessor<com.google.common.collect.Range<C>,​C> upperEndpointOpen()
        Type Parameters:
        C - Type of the range's end points.
        Returns:
        Accessor for the upper end point of a range. The BoundType is changed to BoundType.OPEN.