public enum EndpointDescriptors extends Enum<EndpointDescriptors> implements EndpointDescriptor
EndpointDescriptor
s.Enum Constant and Description |
---|
LOWER_ENDPOINT_CLOSED
Lower closed end point of a range.
|
LOWER_ENDPOINT_OPEN
Lower open end point of a range.
|
NEGATIVE_INFINITY
Minus infinity for a half open or open range.
|
POSITIVE_INFINITY
Positive infinity for a half open or open range.
|
UPPER_ENDPOINT_CLOSED
Upper closed end point of a range.
|
UPPER_ENDPOINT_OPEN
Upper open end point of a range.
|
Modifier and Type | Method and Description |
---|---|
static EndpointDescriptor |
lower(com.google.common.collect.BoundType boundType) |
static EndpointDescriptor |
lower(com.google.common.collect.Range<?> range) |
static EndpointDescriptor |
upper(com.google.common.collect.BoundType boundType) |
static EndpointDescriptor |
upper(com.google.common.collect.Range<?> range) |
static EndpointDescriptors |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EndpointDescriptors[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getBoundType, getDirection, hasBound, isLowerPoint, isUpperPoint, toAcessor, toEndpoint
public static final EndpointDescriptors LOWER_ENDPOINT_CLOSED
public static final EndpointDescriptors LOWER_ENDPOINT_OPEN
public static final EndpointDescriptors NEGATIVE_INFINITY
public static final EndpointDescriptors POSITIVE_INFINITY
public static final EndpointDescriptors UPPER_ENDPOINT_CLOSED
public static final EndpointDescriptors UPPER_ENDPOINT_OPEN
public static EndpointDescriptors[] values()
for (EndpointDescriptors c : EndpointDescriptors.values()) System.out.println(c);
public static EndpointDescriptors valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static EndpointDescriptor lower(com.google.common.collect.BoundType boundType)
boundType
- A bound type to use.public static EndpointDescriptor lower(com.google.common.collect.Range<?> range)
range
- A range to check.public static EndpointDescriptor upper(com.google.common.collect.BoundType boundType)
boundType
- A bound type to use.public static EndpointDescriptor upper(com.google.common.collect.Range<?> range)
range
- A range to check.Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.