Schnittstelle Boolean2FloatFunction

Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public interface Boolean2FloatFunction
A Type Specific Function interface that reduces boxing/unboxing and fills the gaps of interfaces that are missing.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    float
    applyAsFloat(boolean k)
    Type Specific get function to reduce boxing/unboxing
  • Methodendetails

    • applyAsFloat

      float applyAsFloat(boolean k)
      Type Specific get function to reduce boxing/unboxing
      Parameter:
      k - the value that should be processed
      Gibt zurück:
      the result of the function