Schnittstelle Object2ShortMap.Entry<T>

Typparameter:
T - the keyType of elements maintained by this Collection
Alle Superschnittstellen:
Map.Entry<T,Short>
Alle bekannten Implementierungsklassen:
AbstractObject2ShortMap.BasicEntry, Object2ShortMaps.UnmodifyableEntry
Umschließende Schnittstelle:
Object2ShortMap<T>

public static interface Object2ShortMap.Entry<T> extends Map.Entry<T,Short>
Type Specific Map Entry that reduces boxing/unboxing
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    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, getKey, hashCode
  • Methodendetails

    • 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<T,Short>
    • setValue

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