Schnittstelle ObjectIntUnaryOperator<T>

Typparameter:
T - the keyType of elements maintained by this Collection
Alle Superschnittstellen:
BiFunction<T,Integer,Integer>

public interface ObjectIntUnaryOperator<T> extends BiFunction<T,Integer,Integer>
A Type Specific Unary Operator to support Compute/Merge functions with type specific methods to reduce boxing/unboxing
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    default Integer
    apply(T k, Integer v)
     
    int
    applyAsInt(T k, int v)
    A Type Specifc apply method to reduce boxing/unboxing.

    Von Schnittstelle geerbte Methoden java.util.function.BiFunction

    andThen
  • Methodendetails

    • applyAsInt

      int applyAsInt(T k, int v)
      A Type Specifc apply method to reduce boxing/unboxing. Applies this function to the given arguments.
      Parameter:
      k - the first function argument
      v - the second function argument
      Gibt zurück:
      the function result
    • apply

      default Integer apply(T k, Integer v)
      Angegeben von:
      apply in Schnittstelle BiFunction<T,Integer,Integer>