java.io.Serializable, java.lang.Comparable<ShapeRelation>, Writeablepublic enum ShapeRelation extends java.lang.Enum<ShapeRelation> implements Writeable
Writeable.Reader<V>, Writeable.Writer<V>| Enum Constant | Description |
|---|---|
CONTAINS |
|
DISJOINT |
|
INTERSECTS |
|
WITHIN |
| Modifier and Type | Method | 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.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
Writeablepublic static ShapeRelation getRelationByName(java.lang.String name)
public java.lang.String getRelationName()