Package org.cactoos.scalar
Class EqualsNullable
- java.lang.Object
-
- org.cactoos.scalar.EqualsNullable
-
-
Constructor Summary
Constructors Constructor Description EqualsNullable(Object first, Object second)
Accepts 2 objects to compare.EqualsNullable(Object first, Scalar<? extends Object> second)
Accepts object to compare with and scalar to get value from.EqualsNullable(Scalar<? extends Object> first, Object second)
Accepts scalar to get value from and object to compare with.EqualsNullable(Scalar<? extends Object> first, Scalar<? extends Object> second)
Accepts 2 scalars to get get values from.
-
-
-
Constructor Detail
-
EqualsNullable
public EqualsNullable(Object first, Object second)
Accepts 2 objects to compare.- Parameters:
first
- Object to comparesecond
- Object to compare with
-
EqualsNullable
public EqualsNullable(Scalar<? extends Object> first, Object second)
Accepts scalar to get value from and object to compare with.- Parameters:
first
- Scalar to get value to comparesecond
- Object to compare with
-
EqualsNullable
public EqualsNullable(Object first, Scalar<? extends Object> second)
Accepts object to compare with and scalar to get value from.- Parameters:
first
- Object to comparesecond
- Scalar to get value to compare
-
-