public class RelationAtLeastForPairOfValues extends Relation
PairField
).Constructor | Description |
---|---|
RelationAtLeastForPairOfValues() |
Constructor for
RelationAtLeastForPairOfValues 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 RelationAtLeastForPairOfValues()
RelationAtLeastForPairOfValues
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,6) does not fulfill this relation
because 2 < 6.fulfilledBy
in class Relation
pairOfValues
- pair of values for which it is checked if first element in pair is greater than or equal to 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
metod.