-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
bundles/runtime/org.eclipse.fx.core/src/org/eclipse/fx/core/function/BiIntUnaryOperator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,31 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2017 BestSolution.at and others. | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v1.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v10.html | ||
* | ||
* Contributors: | ||
* Tom Schindl<[email protected]> - initial API and implementation | ||
*******************************************************************************/ | ||
package org.eclipse.fx.core.function; | ||
|
||
import java.util.function.IntUnaryOperator; | ||
|
||
/** | ||
* Like {@link IntUnaryOperator} but with 2 arguments | ||
* | ||
* @since 3.0 | ||
*/ | ||
public interface BiIntUnaryOperator { | ||
/** | ||
* Applies this operator to the given operands. | ||
* | ||
* @param t | ||
* the first operand | ||
* @param u | ||
* the second operand | ||
* @return the operator result | ||
*/ | ||
public int applyAsInt(int t, int u); | ||
} |