Schnittstelle Int2ShortMap.Entry

Alle Superschnittstellen:
Map.Entry<Integer,Short>
Alle bekannten Implementierungsklassen:
AbstractInt2ShortMap.BasicEntry, Int2ShortMaps.UnmodifyableEntry
Umschließende Schnittstelle:
Int2ShortMap

public static interface Int2ShortMap.Entry extends Map.Entry<Integer,Short>
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
     
    short
    Type Specific getValue method that reduces boxing/unboxing
    default Short
     
    short
    setValue(short value)
    Type Specific setValue method that reduces boxing/unboxing
    default Short
    setValue(Short 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,Short>
    • getShortValue

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

      short setValue(short 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 Short getValue()
      Angegeben von:
      getValue in Schnittstelle Map.Entry<Integer,Short>
    • setValue

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