LongBinaryOperator
Stay organized with collections
Save and categorize content based on your preferences.
Public Method Summary
abstract
long
|
applyAsLong(long left, long right)
Applies this operator to the given operands.
|
Public Methods
public
abstract
long
applyAsLong
(long left, long 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."],[[["`LongBinaryOperator` is a functional interface representing an operation on two `long` values, producing a `long` result."],["It is a specialization of `BinaryOperator` for the primitive type `long`."],["The core functionality is provided by the `applyAsLong` method, which takes two `long` operands and returns the calculated `long` result."]]],["`LongBinaryOperator` is a functional interface for operations on two `long` values, yielding a `long` result. Its core method, `applyAsLong`, takes two `long` operands (`left` and `right`) and returns a `long` result, representing the outcome of the operation. This interface is a specialization of `BinaryOperator` for `long` types. `LongUnaryOperator` is provided as a related interface.\n"]]