org.glassfish.pfl.basic.func.UnaryPredicate Maven / Gradle / Ivy
/*
* Copyright (c) 2003, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2019 Payara Services Ltd.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
package org.glassfish.pfl.basic.func ;
import java.util.function.Predicate;
/**
* @deprecated replaced by {@link Predicate}
*/
@Deprecated
public interface UnaryPredicate extends Predicate{
boolean evaluate( T arg ) ;
@Override
default boolean test(T t) {
return evaluate(t);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy