Schnittstelle FloatPredicate

Alle bekannten Unterschnittstellen:
Float2BooleanConcurrentMap, Float2BooleanMap, Float2BooleanNavigableMap, Float2BooleanOrderedMap, Float2BooleanSortedMap
Alle bekannten Implementierungsklassen:
AbstractFloat2BooleanMap, Float2BooleanArrayMap, Float2BooleanAVLTreeMap, Float2BooleanConcurrentOpenHashMap, Float2BooleanLinkedOpenCustomHashMap, Float2BooleanLinkedOpenHashMap, Float2BooleanMaps.EmptyMap, Float2BooleanMaps.SingletonMap, Float2BooleanMaps.SynchronizedMap, Float2BooleanMaps.SynchronizedNavigableMap, Float2BooleanMaps.SynchronizedOrderedMap, Float2BooleanMaps.SynchronizedSortedMap, Float2BooleanMaps.UnmodifyableMap, Float2BooleanMaps.UnmodifyableNavigableMap, Float2BooleanMaps.UnmodifyableOrderedMap, Float2BooleanMaps.UnmodifyableSortedMap, Float2BooleanOpenCustomHashMap, Float2BooleanOpenHashMap, Float2BooleanRBTreeMap, ImmutableFloat2BooleanOpenHashMap
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public interface FloatPredicate
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
    Creates a Always false function that may be useful if you don't need to process information or just want a default.
    Creates a Always true function that may be useful if you don't need to process information or just want a default.
    A Type specific and-function helper function that reduces boxing/unboxing
    A type specific inverter function
    A Type specific or-function helper function that reduces boxing/unboxing
    boolean
    test(float k)
    Type Specific get function to reduce boxing/unboxing
  • Methodendetails

    • test

      boolean test(float 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
    • alwaysTrue

      static FloatPredicate alwaysTrue()
      Creates a Always true function that may be useful if you don't need to process information or just want a default.
      Gibt zurück:
      a default returning function
    • alwaysFalse

      static FloatPredicate alwaysFalse()
      Creates a Always false function that may be useful if you don't need to process information or just want a default.
      Gibt zurück:
      a default returning function
    • andType

      default FloatPredicate andType(FloatPredicate other)
      A Type specific and-function helper function that reduces boxing/unboxing
      Parameter:
      other - the other function that should be merged with.
      Gibt zurück:
      a function that compares values in a and comparason
    • negate

      default FloatPredicate negate()
      A type specific inverter function
      Gibt zurück:
      the same function but inverts the result
    • orType

      default FloatPredicate orType(FloatPredicate other)
      A Type specific or-function helper function that reduces boxing/unboxing
      Parameter:
      other - the other function that should be merged with.
      Gibt zurück:
      a function that compares values in a or comparason