Schnittstelle IntFunction<V>

Typparameter:
V - the keyType of elements maintained by this Collection
Alle Superschnittstellen:
IntFunction<V>
Alle bekannten Unterschnittstellen:
Int2ObjectConcurrentMap<V>, Int2ObjectMap<V>, Int2ObjectNavigableMap<V>, Int2ObjectOrderedMap<V>, Int2ObjectSortedMap<V>
Alle bekannten Implementierungsklassen:
AbstractInt2ObjectMap, ImmutableInt2ObjectOpenHashMap, Int2ObjectArrayMap, Int2ObjectAVLTreeMap, Int2ObjectConcurrentOpenHashMap, Int2ObjectLinkedOpenCustomHashMap, Int2ObjectLinkedOpenHashMap, Int2ObjectMaps.EmptyMap, Int2ObjectMaps.SingletonMap, Int2ObjectMaps.SynchronizedMap, Int2ObjectMaps.SynchronizedNavigableMap, Int2ObjectMaps.SynchronizedOrderedMap, Int2ObjectMaps.SynchronizedSortedMap, Int2ObjectMaps.UnmodifyableMap, Int2ObjectMaps.UnmodifyableNavigableMap, Int2ObjectMaps.UnmodifyableOrderedMap, Int2ObjectMaps.UnmodifyableSortedMap, Int2ObjectOpenCustomHashMap, Int2ObjectOpenHashMap, Int2ObjectRBTreeMap
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

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

    • apply

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