Modul speiger.src.collections
Schnittstelle FloatUnaryOperator
- Alle bekannten Unterschnittstellen:
Float2FloatConcurrentMap,Float2FloatMap,Float2FloatNavigableMap,Float2FloatOrderedMap,Float2FloatSortedMap
- Alle bekannten Implementierungsklassen:
AbstractFloat2FloatMap,Float2FloatArrayMap,Float2FloatAVLTreeMap,Float2FloatConcurrentOpenHashMap,Float2FloatLinkedOpenCustomHashMap,Float2FloatLinkedOpenHashMap,Float2FloatMaps.EmptyMap,Float2FloatMaps.SingletonMap,Float2FloatMaps.SynchronizedMap,Float2FloatMaps.SynchronizedNavigableMap,Float2FloatMaps.SynchronizedOrderedMap,Float2FloatMaps.SynchronizedSortedMap,Float2FloatMaps.UnmodifyableMap,Float2FloatMaps.UnmodifyableNavigableMap,Float2FloatMaps.UnmodifyableOrderedMap,Float2FloatMaps.UnmodifyableSortedMap,Float2FloatOpenCustomHashMap,Float2FloatOpenHashMap,Float2FloatRBTreeMap,ImmutableFloat2FloatOpenHashMap
- 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 TypMethodeBeschreibungdefault FloatUnaryOperatorandThen(FloatUnaryOperator after) Returns a composed function that first applies this function to its input, and then applies theafterfunction to the result.floatapplyAsFloat(float k) Type Specific get function to reduce boxing/unboxingdefault FloatUnaryOperatorcompose(FloatUnaryOperator before) Returns a composed function that first applies thebeforefunction to its input, and then applies this function to the result.static FloatUnaryOperatoridentity()Creates a Default function that returns the input provided.
-
Methodendetails
-
applyAsFloat
float applyAsFloat(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
-
identity
Creates a Default function that returns the input provided.- Gibt zurück:
- a input returning function
-
compose
Returns a composed function that first applies thebeforefunction to its input, and then applies this function to the result. If evaluation of either function throws an exception, it is relayed to the caller of the composed function.- Parameter:
before- the function that should be used first- Gibt zurück:
- a composed function with a different starting function.
-
andThen
Returns a composed function that first applies this function to its input, and then applies theafterfunction to the result. If evaluation of either function throws an exception, it is relayed to the caller of the composed function.- Parameter:
after- the function that should be used last- Gibt zurück:
- a composed function with a different starting function.
-