Modul speiger.src.collections
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.
A Type Specific Function interface that reduces boxing/unboxing and fills the gaps of interfaces that are missing.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic FloatPredicateCreates a Always false function that may be useful if you don't need to process information or just want a default.static FloatPredicateCreates a Always true function that may be useful if you don't need to process information or just want a default.default FloatPredicateandType(FloatPredicate other) A Type specific and-function helper function that reduces boxing/unboxingdefault FloatPredicatenegate()A type specific inverter functiondefault FloatPredicateorType(FloatPredicate other) A Type specific or-function helper function that reduces boxing/unboxingbooleantest(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
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
-