Schnittstelle Int2LongMap.Entry

Alle Superschnittstellen:
Map.Entry<Integer,Long>
Alle bekannten Implementierungsklassen:
AbstractInt2LongMap.BasicEntry, Int2LongMaps.UnmodifyableEntry
Umschließende Schnittstelle:
Int2LongMap

public static interface Int2LongMap.Entry extends Map.Entry<Integer,Long>
Type Specific Map Entry that reduces boxing/unboxing
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    int
    Type Specific getKey method that reduces boxing/unboxing
    default Integer
     
    long
    Type Specific getValue method that reduces boxing/unboxing
    default Long
     
    long
    setValue(long value)
    Type Specific setValue method that reduces boxing/unboxing
    default Long
    setValue(Long value)
     

    Von Schnittstelle geerbte Methoden java.util.Map.Entry

    equals, hashCode
  • Methodendetails

    • getIntKey

      int getIntKey()
      Type Specific getKey method that reduces boxing/unboxing
      Gibt zurück:
      the key of a given Entry
    • getKey

      default Integer getKey()
      Angegeben von:
      getKey in Schnittstelle Map.Entry<Integer,Long>
    • getLongValue

      long getLongValue()
      Type Specific getValue method that reduces boxing/unboxing
      Gibt zurück:
      the value of a given Entry
    • setValue

      long setValue(long value)
      Type Specific setValue method that reduces boxing/unboxing
      Parameter:
      value - the new Value that should be placed in the given entry
      Gibt zurück:
      the old value of a given entry
      Löst aus:
      UnsupportedOperationException - if the Entry is immutable or not supported
    • getValue

      default Long getValue()
      Angegeben von:
      getValue in Schnittstelle Map.Entry<Integer,Long>
    • setValue

      default Long setValue(Long value)
      Angegeben von:
      setValue in Schnittstelle Map.Entry<Integer,Long>