Interface IntMap<E>

All Known Implementing Classes:
DenseIntMapImpl

public interface IntMap<E>
  • Method Summary

    Modifier and Type
    Method
    Description
    get(int key)
    If key >= 0, return the value bound to key, or null if none.
    void
    set(int key, E value)
    If key >= 0, bind value to the key.
  • Method Details

    • get

      E get(int key)
      If key >= 0, return the value bound to key, or null if none. Throws IllegalArgumentException if key <0.
    • set

      void set(int key, E value)
      If key >= 0, bind value to the key. Throws IllegalArgumentException if key <0.