public enum EndpointDirection extends Enum<EndpointDirection> implements Comparable<EndpointDirection>
Enum Constant and Description |
---|
NEGATIVE_INFINITY
The end point is a lower end point.
|
POSITIVE_INFINITY
The end point is an upper end point.
|
Modifier and Type | Field and Description |
---|---|
int |
order
The numerical representation of this end point direction,
-1 for NEGATIVE_INFINITY and
+1 for POSITIVE_INFINITY . |
Modifier and Type | Method and Description |
---|---|
static EndpointDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EndpointDirection[] |
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
compareTo
public static final EndpointDirection NEGATIVE_INFINITY
public static final EndpointDirection POSITIVE_INFINITY
public final int order
-1
for NEGATIVE_INFINITY
and
+1
for POSITIVE_INFINITY
.public static EndpointDirection[] values()
for (EndpointDirection c : EndpointDirection.values()) System.out.println(c);
public static EndpointDirection 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 nullCopyright © 2021 XIMA MEDIA GmbH. All rights reserved.