Package org.cactoos.scalar
Class Equals<R,T extends Comparable<R>>
- java.lang.Object
-
- org.cactoos.scalar.Equals<R,T>
-
- Type Parameters:
R
- Type of object to compareT
- Type of object to compare
public final class Equals<R,T extends Comparable<R>> extends Object implements Scalar<Boolean>
Equals.There is no thread-safety guarantee.
This class implements
Scalar
, which throws a checkedException
. This may not be convenient in many cases. To make it more convenient and get rid of the checked exception you can use theUnchecked
decorator. Or you may useIoChecked
to wrap it in an IOException.- Since:
- 0.9