Class ComparisonTest::ComparisonKind

A comparison kind. Either equality, inequality, less than, less than or equals, or ternary comparison.

Direct supertypes

Predicates

isCompare

Holds if this is a ternary comparison kind. That is, a comparison of the form compare(x, y, z), where z = 0 if x = y, z < 0 if x < y, and z > 0 if x > y, respectively.

isEquality

Holds if this is an equality kind (=).

isInequality

Holds if this is an inequality kind (!=).

isLessThan

Holds if this is a less than kind (<).

isLessThanEquals

Holds if this is a less than or equals kind (<=).

toString

Gets a textual representation of this comparison kind.