D
- type of the attribute to apply the condition to.public class ComparableCondition<D extends Comparable<D>> extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ComparableCondition.Mode
Condition mode.
|
Constructor and Description |
---|
ComparableCondition(D value,
ComparableCondition.Mode mode)
Creates a new comparable condition.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
ComparableCondition.Mode |
getMode()
Gets the mode related to this condition.
|
D |
getValue()
Gets the value associated with this condition.
|
int |
hashCode() |
String |
toString() |
public ComparableCondition(D value, ComparableCondition.Mode mode)
value
- value to apply the condition against.mode
- the mode to use the condition in.public D getValue()
public ComparableCondition.Mode getMode()
Copyright © 2016. All Rights Reserved.