@FunctionalInterface public interface IntBinaryOperator
int
操作数的操作,并产生一个int
结果。
这是BinaryOperator
为int
的原始类型int
。
这是一个functional interface的功能方法是applyAsInt(int, int)
。
BinaryOperator
, IntUnaryOperator
Modifier and Type | Method and Description |
---|---|
int |
applyAsInt(int left, int right)
将此运算符应用于给定的操作数。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.