public static enum IValue.Relation extends Enum<IValue.Relation>
Enum Constant and Description |
---|
DIFFERENT |
EQUALS |
GREATER_THAN |
GREATER_THAN_OR_EQUALS |
LESS_THAN |
LESS_THAN_OR_EQUALS |
Modifier and Type | Method and Description |
---|---|
boolean |
check(double value,
double comparisonTarget) |
static IValue.Relation |
getRelationFromString(String s) |
String |
getRelationString() |
static IValue.Relation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IValue.Relation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IValue.Relation EQUALS
public static final IValue.Relation LESS_THAN
public static final IValue.Relation LESS_THAN_OR_EQUALS
public static final IValue.Relation GREATER_THAN
public static final IValue.Relation GREATER_THAN_OR_EQUALS
public static final IValue.Relation DIFFERENT
public static IValue.Relation[] values()
for (IValue.Relation c : IValue.Relation.values()) System.out.println(c);
public static IValue.Relation 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 getRelationString()
public static IValue.Relation getRelationFromString(String s)
public boolean check(double value, double comparisonTarget)
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.