public enum Operand extends Enum<Operand>
Enum Constant and Description |
---|
EQUAL |
GREATER_THAN |
LESS_THAN |
NOT_EQUAL |
WILDCARD |
Modifier and Type | Method and Description |
---|---|
protected long |
_delta(long expected,
long actual) |
Long |
delta(Object expected,
Object actual) |
org.apache.solr.client.solrj.cloud.autoscaling.Clause.TestStatus |
match(Object ruleVal,
Object testVal) |
static Operand |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Operand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Operand WILDCARD
public static final Operand EQUAL
public static final Operand NOT_EQUAL
public static final Operand GREATER_THAN
public static final Operand LESS_THAN
public final String operand
public static Operand[] values()
for (Operand c : Operand.values()) System.out.println(c);
public static Operand 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 org.apache.solr.client.solrj.cloud.autoscaling.Clause.TestStatus match(Object ruleVal, Object testVal)
protected long _delta(long expected, long actual)
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.