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 org.elasticsearch.geometry.Geometry,​E extends ShapeBuilder<T,​G,​E>>

public static enum ShapeBuilder.Orientation
extends java.lang.Enum<ShapeBuilder.Orientation>
  • Enum Constant Details

  • Field Details

  • Method Details

    • values

      public static ShapeBuilder.Orientation[] 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

      public static ShapeBuilder.Orientation valueOf​(java.lang.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:
      java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
      java.lang.NullPointerException - if the argument is null
    • writeTo

      public void writeTo​(StreamOutput out) throws java.io.IOException
      Throws:
      java.io.IOException
    • readFrom

      public static ShapeBuilder.Orientation readFrom​(StreamInput in) throws java.io.IOException
      Throws:
      java.io.IOException
    • getAsBoolean

      public boolean getAsBoolean()
    • fromString

      public static ShapeBuilder.Orientation fromString​(java.lang.String orientation)