Enum ShapeBuilder.Orientation
java.lang.Object
java.lang.Enum<ShapeBuilder.Orientation>
org.elasticsearch.common.geo.builders.ShapeBuilder.Orientation
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ShapeBuilder.Orientation>
,java.lang.constant.Constable
- Enclosing class:
- ShapeBuilder<T extends org.locationtech.spatial4j.shape.Shape,G extends Geometry,E extends ShapeBuilder<T,G,E>>
public static enum ShapeBuilder.Orientation extends java.lang.Enum<ShapeBuilder.Orientation>
-
Nested Class Summary
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description static ShapeBuilder.Orientation
CCW
static ShapeBuilder.Orientation
CLOCKWISE
static ShapeBuilder.Orientation
COUNTER_CLOCKWISE
static ShapeBuilder.Orientation
CW
-
Method Summary
Modifier and Type Method Description static ShapeBuilder.Orientation
fromString(java.lang.String orientation)
static ShapeBuilder.Orientation
readFrom(StreamInput in)
static ShapeBuilder.Orientation
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ShapeBuilder.Orientation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.void
writeTo(StreamOutput out)
-
Enum Constant Details
-
Field Details
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
writeTo
- Throws:
java.io.IOException
-
readFrom
- Throws:
java.io.IOException
-
fromString
-