Schnittstelle ToIntFunction<T>

Typparameter:
T - the keyType of elements maintained by this Collection
Alle Superschnittstellen:
ToIntFunction<T>
Alle bekannten Unterschnittstellen:
Object2IntConcurrentMap<T>, Object2IntMap<T>, Object2IntNavigableMap<T>, Object2IntOrderedMap<T>, Object2IntSortedMap<T>
Alle bekannten Implementierungsklassen:
AbstractObject2IntMap, Enum2IntMap, ImmutableObject2IntOpenHashMap, LinkedEnum2IntMap, Object2IntArrayMap, Object2IntAVLTreeMap, Object2IntConcurrentOpenHashMap, Object2IntLinkedOpenCustomHashMap, Object2IntLinkedOpenHashMap, Object2IntMaps.EmptyMap, Object2IntMaps.SingletonMap, Object2IntMaps.SynchronizedMap, Object2IntMaps.SynchronizedNavigableMap, Object2IntMaps.SynchronizedOrderedMap, Object2IntMaps.SynchronizedSortedMap, Object2IntMaps.UnmodifyableMap, Object2IntMaps.UnmodifyableNavigableMap, Object2IntMaps.UnmodifyableOrderedMap, Object2IntMaps.UnmodifyableSortedMap, Object2IntOpenCustomHashMap, Object2IntOpenHashMap, Object2IntRBTreeMap
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

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

    • applyAsInt

      int applyAsInt(T k)
      Type Specific get function to reduce boxing/unboxing
      Angegeben von:
      applyAsInt in Schnittstelle ToIntFunction<T>
      Parameter:
      k - the value that should be processed
      Gibt zurück:
      the result of the function