Modul speiger.src.collections
Schnittstelle CharPredicate
- Alle bekannten Unterschnittstellen:
Char2BooleanConcurrentMap,Char2BooleanMap,Char2BooleanNavigableMap,Char2BooleanOrderedMap,Char2BooleanSortedMap
- Alle bekannten Implementierungsklassen:
AbstractChar2BooleanMap,Char2BooleanArrayMap,Char2BooleanAVLTreeMap,Char2BooleanConcurrentOpenHashMap,Char2BooleanLinkedOpenCustomHashMap,Char2BooleanLinkedOpenHashMap,Char2BooleanMaps.EmptyMap,Char2BooleanMaps.SingletonMap,Char2BooleanMaps.SynchronizedMap,Char2BooleanMaps.SynchronizedNavigableMap,Char2BooleanMaps.SynchronizedOrderedMap,Char2BooleanMaps.SynchronizedSortedMap,Char2BooleanMaps.UnmodifyableMap,Char2BooleanMaps.UnmodifyableNavigableMap,Char2BooleanMaps.UnmodifyableOrderedMap,Char2BooleanMaps.UnmodifyableSortedMap,Char2BooleanOpenCustomHashMap,Char2BooleanOpenHashMap,Char2BooleanRBTreeMap,ImmutableChar2BooleanOpenHashMap
- 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 CharPredicateCreates a Always false function that may be useful if you don't need to process information or just want a default.static CharPredicateCreates a Always true function that may be useful if you don't need to process information or just want a default.default CharPredicateandType(CharPredicate other) A Type specific and-function helper function that reduces boxing/unboxingdefault CharPredicatenegate()A type specific inverter functiondefault CharPredicateorType(CharPredicate other) A Type specific or-function helper function that reduces boxing/unboxingbooleantest(char k) Type Specific get function to reduce boxing/unboxing
-
Methodendetails
-
test
boolean test(char 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
-