public class RelationAtMostForPairOfValues extends Relation
PairField).| Constructor | Description |
|---|---|
RelationAtMostForPairOfValues() |
Constructor for
RelationAtMostForPairOfValues class
Calls Relation(null). |
| 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, waitgetReferenceValue, setReferenceValuepublic RelationAtMostForPairOfValues()
RelationAtMostForPairOfValues class
Calls Relation(null).public boolean fulfilledBy(Field pairOfValues)
PairField) fulfills this relation.
For example pair (5,8) fulfills this relation because 5 <= 8, but pair (6,2) does not fulfill this relation
because 6 > 2.fulfilledBy in class RelationpairOfValues - pair of values for which it is checked if first element in pair is less 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 PairFieldpublic java.lang.String toString()
Relation.toString method.