Schnittstelle ToShortFunction<T>

Typparameter:
T - the keyType of elements maintained by this Collection
Alle bekannten Unterschnittstellen:
Object2ShortConcurrentMap<T>, Object2ShortMap<T>, Object2ShortNavigableMap<T>, Object2ShortOrderedMap<T>, Object2ShortSortedMap<T>
Alle bekannten Implementierungsklassen:
AbstractObject2ShortMap, Enum2ShortMap, ImmutableObject2ShortOpenHashMap, LinkedEnum2ShortMap, Object2ShortArrayMap, Object2ShortAVLTreeMap, Object2ShortConcurrentOpenHashMap, Object2ShortLinkedOpenCustomHashMap, Object2ShortLinkedOpenHashMap, Object2ShortMaps.EmptyMap, Object2ShortMaps.SingletonMap, Object2ShortMaps.SynchronizedMap, Object2ShortMaps.SynchronizedNavigableMap, Object2ShortMaps.SynchronizedOrderedMap, Object2ShortMaps.SynchronizedSortedMap, Object2ShortMaps.UnmodifyableMap, Object2ShortMaps.UnmodifyableNavigableMap, Object2ShortMaps.UnmodifyableOrderedMap, Object2ShortMaps.UnmodifyableSortedMap, Object2ShortOpenCustomHashMap, Object2ShortOpenHashMap, Object2ShortRBTreeMap
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public interface ToShortFunction<T>
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
    short
    Type Specific get function to reduce boxing/unboxing
  • Methodendetails

    • applyAsShort

      short applyAsShort(T 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