public enum GeoCompare extends Enum<GeoCompare> implements Predicate
| Enum Constant and Description |
|---|
CONTAINS |
DISJOINT |
INTERSECTS |
WITHIN |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(Iterable<Property> properties,
Object second,
Collection<PropertyDefinition> propertyDefinitions) |
boolean |
evaluate(Object first,
Object second,
PropertyDefinition propertyDefinition) |
String |
getCompareName() |
void |
validate(PropertyDefinition propertyDefinition) |
static GeoCompare |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeoCompare[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeoCompare INTERSECTS
public static final GeoCompare DISJOINT
public static final GeoCompare WITHIN
public static final GeoCompare CONTAINS
public static GeoCompare[] values()
for (GeoCompare c : GeoCompare.values()) System.out.println(c);
public static GeoCompare 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 nullpublic String getCompareName()
public boolean evaluate(Iterable<Property> properties, Object second, Collection<PropertyDefinition> propertyDefinitions)
public boolean evaluate(Object first, Object second, PropertyDefinition propertyDefinition)
public void validate(PropertyDefinition propertyDefinition)
Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.