Schnittstelle ShortFunction<V>

Typparameter:
V - the keyType of elements maintained by this Collection
Alle bekannten Unterschnittstellen:
Short2ObjectConcurrentMap<V>, Short2ObjectMap<V>, Short2ObjectNavigableMap<V>, Short2ObjectOrderedMap<V>, Short2ObjectSortedMap<V>
Alle bekannten Implementierungsklassen:
AbstractShort2ObjectMap, ImmutableShort2ObjectOpenHashMap, Short2ObjectArrayMap, Short2ObjectAVLTreeMap, Short2ObjectConcurrentOpenHashMap, Short2ObjectLinkedOpenCustomHashMap, Short2ObjectLinkedOpenHashMap, Short2ObjectMaps.EmptyMap, Short2ObjectMaps.SingletonMap, Short2ObjectMaps.SynchronizedMap, Short2ObjectMaps.SynchronizedNavigableMap, Short2ObjectMaps.SynchronizedOrderedMap, Short2ObjectMaps.SynchronizedSortedMap, Short2ObjectMaps.UnmodifyableMap, Short2ObjectMaps.UnmodifyableNavigableMap, Short2ObjectMaps.UnmodifyableOrderedMap, Short2ObjectMaps.UnmodifyableSortedMap, Short2ObjectOpenCustomHashMap, Short2ObjectOpenHashMap, Short2ObjectRBTreeMap
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

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

    • apply

      V apply(short 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