DoubleBinaryOperator
Stay organized with collections
Save and categorize content based on your preferences.
Public Method Summary
abstract
double
|
applyAsDouble(double left, double right)
Applies this operator to the given operands.
|
Public Methods
public
abstract
double
applyAsDouble
(double left, double right)
Applies this operator to the given operands.
Parameters
left |
the first operand |
right |
the second operand |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[[["\u003cp\u003e\u003ccode\u003eDoubleBinaryOperator\u003c/code\u003e is a functional interface representing an operation on two \u003ccode\u003edouble\u003c/code\u003e values, producing a \u003ccode\u003edouble\u003c/code\u003e result.\u003c/p\u003e\n"],["\u003cp\u003eIt is a specialization of \u003ccode\u003eBinaryOperator\u003c/code\u003e for the primitive type \u003ccode\u003edouble\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe core functionality is provided by the \u003ccode\u003eapplyAsDouble\u003c/code\u003e method, which takes two \u003ccode\u003edouble\u003c/code\u003e operands and returns the computed \u003ccode\u003edouble\u003c/code\u003e result.\u003c/p\u003e\n"]]],[],null,["public interface **DoubleBinaryOperator** \nRepresents an operation upon two `double`-valued operands and producing a\n`double`-valued result. This is the primitive type specialization of\n[BinaryOperator](../../../../reference/java/util/function/BinaryOperator.html) for `double`.\n\nThis is a [functional interface](/j2objc/javadoc/jre/reference/java/util/function/package-summary)\nwhose functional method is [applyAsDouble(double, double)](../../../../reference/java/util/function/DoubleBinaryOperator.html#applyAsDouble(double,%20double)). \n\nSee Also\n\n- [BinaryOperator](../../../../reference/java/util/function/BinaryOperator.html)\n- [DoubleUnaryOperator](../../../../reference/java/util/function/DoubleUnaryOperator.html) \n\nPublic Method Summary\n\n|-----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract double | [applyAsDouble](../../../../reference/java/util/function/DoubleBinaryOperator.html#applyAsDouble(double,%20double))(double left, double right) Applies this operator to the given operands. |\n\nPublic Methods \n\npublic abstract double\n**applyAsDouble**\n(double left, double right) \nApplies this operator to the given operands. \n\nParameters\n\n| left | the first operand |\n| right | the second operand |\n|-------|--------------------|\n\nReturns\n\n- the operator result"]]