Class DoubleOperators

java.lang.Object
eu.bandm.sig.adlib2.DoubleOperators

@Generated(generator="eu.bandm.tools.expander", version="1.3.1", timestamp="2026-10-23T14:02:07") public abstract class DoubleOperators extends Object
Utility class with static definitions of operators on primitive type double.
  • Field Details

    • id

      public static final DoubleUnaryOperator id
      The unary operator for the identity function.
    • negate

      public static final DoubleUnaryOperator negate
      The unary operator that performs numeric negation.
    • add

      public static final DoubleBinaryOperator add
      The binary operator that performs addition.
    • subtract

      public static final DoubleBinaryOperator subtract
      The binary operator that performs subtraction.
    • multiply

      public static final DoubleBinaryOperator multiply
      The binary operator that performs multiplication.
    • divide

      public static final DoubleBinaryOperator divide
      The binary operator that performs division.
    • modulo

      public static final DoubleBinaryOperator modulo
      The binary operator that calculates division remainders.
    • abs

      public static final DoubleUnaryOperator abs
      The unary operator that calculates absolute values.
    • min

      public static final DoubleBinaryOperator min
      The binary operator that calculates the minimum.
    • max

      public static final DoubleBinaryOperator max
      The binary operator that calculates the maximum.
    • negative

      public static final DoublePredicate negative
      The unary predicate that recognizes negative numbers.
    • positive

      public static final DoublePredicate positive
      The unary predicate that recognizes positive numbers.
    • nonnegative

      public static final DoublePredicate nonnegative
      The unary predicate that recognizes non-negative numbers.
    • nonpositive

      public static final DoublePredicate nonpositive
      The unary predicate that recognizes non-positive numbers.
    • zero

      public static final DoublePredicate zero
      The unary predicate that recognizes the number zero.
    • nonzero

      public static final DoublePredicate nonzero
      The unary predicate that recognizes non-zero numbers.
    • lessThan

      public static final DoubleBiPredicate lessThan
      The binary predicate that compares numbers for the less-than relation.
    • greaterThan

      public static final DoubleBiPredicate greaterThan
      The binary predicate that compares numbers for the greater-than relation.
    • greaterOrEqual

      public static final DoubleBiPredicate greaterOrEqual
      The binary predicate that compares numbers for the greater-or-equal relation.
    • lessOrEqual

      public static final DoubleBiPredicate lessOrEqual
      The binary predicate that compares numbers for the less-or-equal relation.
    • equal

      public static final DoubleBiPredicate equal
      The binary predicate that compares numbers for the equality relation.
    • nonEqual

      public static final DoubleBiPredicate nonEqual
      The binary predicate that compares numbers for the non-equality relation.
    • floor

      public static final DoubleUnaryOperator floor
      The unary operator that calculates the floor.
    • ceil

      public static final DoubleUnaryOperator ceil
      The unary operator that calculates the ceiling.
    • defined

      public static final DoublePredicate defined
      The unary predicate that recognizes defined numbers. This excludes all kinds of not-a-number.
    • notANumber

      public static final DoublePredicate notANumber
      The unary predicate that recognizes not-a-number.
    • sqrt

      public static final DoubleUnaryOperator sqrt
      The unary operator that calculates the square root.
    • join

      public static final DoubleBinaryOperator join
      The binary operator that asserts that its operands are identical.

      If both operands are identical, that value is returned; otherwise, an IllegalArgumentException is thrown.