Modul speiger.src.collections
Schnittstelle BytePredicate
- 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.
A Type Specific Function interface that reduces boxing/unboxing and fills the gaps of interfaces that are missing.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic BytePredicateCreates a Always false function that may be useful if you don't need to process information or just want a default.static BytePredicateCreates a Always true function that may be useful if you don't need to process information or just want a default.default BytePredicateandType(BytePredicate other) A Type specific and-function helper function that reduces boxing/unboxingdefault BytePredicatenegate()A type specific inverter functiondefault BytePredicateorType(BytePredicate other) A Type specific or-function helper function that reduces boxing/unboxingbooleantest(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
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
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
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
A type specific inverter function- Gibt zurück:
- the same function but inverts the result
-
orType
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
-