public class RelationGreaterThanForPairOfValues extends Relation
PairField
).Constructor | Description |
---|---|
RelationGreaterThanForPairOfValues() |
Constructor for
RelationGreaterThanForPairOfValues class. |
Modifier and Type | Method | Description |
---|---|---|
Relation |
duplicate() |
Returns duplicate of this relation, which is fully independent of this relation.
|
boolean |
fulfilledBy(Field pairOfValues) |
Checks if given pair of values (object of type
PairField ) fulfills this relation. |
java.lang.String |
toString() |
Gets textual form of this relation.
|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getReferenceValue, setReferenceValue
public RelationGreaterThanForPairOfValues()
RelationGreaterThanForPairOfValues
class.
Calls Relation(null)
.public boolean fulfilledBy(Field pairOfValues)
PairField
) fulfills this relation.
For example pair (8,5) fulfills this relation because 8 > 5, but pair (2,2) does not fulfill this relation
because 2 = 2.fulfilledBy
in class Relation
pairOfValues
- pair of values for which it is checked if first element in pair is greater than second elementtrue
if this relation is fulfilled by given pair of values, false
otherwiseInvalidTypeException
- when type of pairOfValues
is different than PairField
public java.lang.String toString()
Relation.toString
method.