public enum ShapeRelation extends java.lang.Enum<ShapeRelation> implements Writeable
Writeable.Reader<R>
Enum Constant and Description |
---|
CONTAINS |
DISJOINT |
INTERSECTS |
WITHIN |
Modifier and Type | Method and Description |
---|---|
static ShapeRelation |
getRelationByName(java.lang.String name) |
java.lang.String |
getRelationName() |
static ShapeRelation |
readFromStream(StreamInput in) |
static ShapeRelation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ShapeRelation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
public static final ShapeRelation INTERSECTS
public static final ShapeRelation DISJOINT
public static final ShapeRelation WITHIN
public static final ShapeRelation CONTAINS
public static ShapeRelation[] values()
for (ShapeRelation c : ShapeRelation.values()) System.out.println(c);
public static ShapeRelation valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static ShapeRelation readFromStream(StreamInput in) throws java.io.IOException
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Writeable
public static ShapeRelation getRelationByName(java.lang.String name)
public java.lang.String getRelationName()