Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.emory.mathcs.util.collections.shorts
Interface ShortMap.Entry

Enclosing interface:
  ShortMap

public static interface ShortMap.Entry

Represents the mapping from a short key to an object value. Returned by entrySet().iterator(). The returned entry becomes invalid (i.e. its behavior is no shorter guaranteed) if the map is modified in a way other than via iterator.remove() or entry.setValue().

Method Summary
`boolean` | `equals(java.lang.Object o)`
`short` | `getKey()` Returns the key associated with this entry.
`java.lang.Object` | `getValue()` Returns the value associated with this entry.
`int` | `hashCode()`
`java.lang.Object` | `setValue(java.lang.Object value)` Assigns a new value to the given key, and returns the old value.

Method Detail

### getKey

    public short getKey()

  Returns the key associated with this entry.

### getValue

    public java.lang.Object getValue()

  Returns the value associated with this entry.

### setValue

    public java.lang.Object setValue(java.lang.Object value)

  Assigns a new value to the given key, and returns the old value.

### equals

    public boolean equals(java.lang.Object o)

### hashCode

    public int hashCode()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD