Schnittstelle Int2DoubleMap.Entry

Alle Superschnittstellen:
Map.Entry<Integer,Double>
Alle bekannten Implementierungsklassen:
AbstractInt2DoubleMap.BasicEntry, Int2DoubleMaps.UnmodifyableEntry
Umschließende Schnittstelle:
Int2DoubleMap

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

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

    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,Double>
    • getDoubleValue

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

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

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