T
- the type of the objects that can be used by this predicate.@GwtCompatible
public class BooleanFunctionDelegate<T>
extends java.lang.Object
implements com.google.common.base.Predicate<T>
Constructor and Description |
---|
BooleanFunctionDelegate(Functions.Function1<? super T,java.lang.Boolean> delegate)
Creates a new
BooleanFunctionDelegate that wraps the given delegate function. |
public BooleanFunctionDelegate(Functions.Function1<? super T,java.lang.Boolean> delegate)
BooleanFunctionDelegate
that wraps the given delegate function. This implementation will
throw a NullPointerException
if the delegate's implementation
returns
null
for a given object.delegate
- the delegate function. May not be null
.