Class IsEqualPredicate1<T>
- java.lang.Object
-
- com.g2forge.alexandria.java.function.IsEqualPredicate1<T>
-
- All Implemented Interfaces:
IPredicate
,IPredicate1<T>
,Predicate<T>
public class IsEqualPredicate1<T> extends Object implements IPredicate1<T>
-
-
Constructor Summary
Constructors Constructor Description IsEqualPredicate1(T value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
T
getValue()
int
hashCode()
boolean
test(T t)
String
toString()
static <T> T
unwrap(IPredicate1<? extends T> predicate)
-
-
-
Field Detail
-
value
protected final T value
-
-
Constructor Detail
-
IsEqualPredicate1
@ConstructorProperties("value") public IsEqualPredicate1(T value)
-
-
Method Detail
-
unwrap
public static <T> T unwrap(IPredicate1<? extends T> predicate)
-
getValue
public T getValue()
-
canEqual
protected boolean canEqual(Object other)
-
-