kactoos-jvm / nnl.rocks.kactoos.scalar / Equality
class Equality<T : Bytes> : Scalar<Int>
Equality.
Returns:
0 if x == y;-1 if x < y;1 if x > yThere is no thread-safety guarantee.
T - Type of input
left - Left
right - Right
Since 0.4
| Name | Summary |
|---|---|
| <init> | Equality(left: T, right: T)Equality. |
| Name | Summary |
|---|---|
| invoke | fun invoke(): IntGet value of this Scalar |