org.glassfish.pfl.basic.func.UnaryVoidFunction 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.Consumer;
/**
* @deprecated replaced by {@link Consumer}
*/
@Deprecated
public interface UnaryVoidFunction extends Consumer {
void evaluate( T arg ) ;
@Override
default void accept(T t) {
evaluate(t);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy