net.sf.staccatocommons.defs.Executable3 Maven / Gradle / Ivy
/**
* Copyright (c) 2010-2012, The StaccatoCommons Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; version 3 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*/
package net.sf.staccatocommons.defs;
/**
* {@link Executable3}s are computations that take three arguments and whose
* result is a side effect, instead of a return value.
*
* {@link Executable3} has the same semantics that an {@link Applicable3} of
* {@link Void} return type, but is provided for ease of coding. Concrete
* implementors should implement {@link Applicable3} as well.
*
*
* @author flbulgarelli
*
* @param
* first computation argument type
* @param
* second computation argument type
* @param
* third computation argument type
* @see Applicative Recomendations for implementing
*/
@Applicative
public interface Executable3 {
/**
* Performing a side-effect computation.
*
* @see Executable#exec(Object)
* @param arg0
* @param arg1
* @param arg2
*/
void exec(T1 arg0, T2 arg1, T3 arg2);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy