Alle bekannten Unterschnittstellen:
Byte2BooleanConcurrentMap, Byte2BooleanMap, Byte2BooleanNavigableMap, Byte2BooleanOrderedMap, Byte2BooleanSortedMap
Alle bekannten Implementierungsklassen:
AbstractByte2BooleanMap, Byte2BooleanArrayMap, Byte2BooleanAVLTreeMap, Byte2BooleanConcurrentOpenHashMap, Byte2BooleanLinkedOpenCustomHashMap, Byte2BooleanLinkedOpenHashMap, Byte2BooleanMaps.EmptyMap, Byte2BooleanMaps.SingletonMap, Byte2BooleanMaps.SynchronizedMap, Byte2BooleanMaps.SynchronizedNavigableMap, Byte2BooleanMaps.SynchronizedOrderedMap, Byte2BooleanMaps.SynchronizedSortedMap, Byte2BooleanMaps.UnmodifyableMap, Byte2BooleanMaps.UnmodifyableNavigableMap, Byte2BooleanMaps.UnmodifyableOrderedMap, Byte2BooleanMaps.UnmodifyableSortedMap, Byte2BooleanOpenCustomHashMap, Byte2BooleanOpenHashMap, Byte2BooleanRBTreeMap, ImmutableByte2BooleanOpenHashMap
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public interface BytePredicate
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(byte k)
    Type Specific get function to reduce boxing/unboxing
  • Methodendetails

    • test

      boolean test(byte 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 BytePredicate 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 BytePredicate 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 BytePredicate andType(BytePredicate 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 BytePredicate negate()
      A type specific inverter function
      Gibt zurück:
      the same function but inverts the result
    • orType

      default BytePredicate orType(BytePredicate 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