Module org.hsqldb
Package org.hsqldb.lib

## Interface IntLookup

-     public interface IntLookup

  Interface for int to int lookup.
  Since:
    1.8.0
  Author:
    Fred Toussi (fredt@users dot sourceforge.net)

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | `add​(int key, int value)` |
    `boolean` | `addUnsorted​(int key, int value)` |
    `void` | `clear()` |
    `int` | `lookup​(int key)` |
    `int` | `lookup​(int key, int def)` |
    `int` | `size()` |

- - ### Method Detail

    - #### add

          int add​(int key,
                  int value)

    - #### addUnsorted

          boolean addUnsorted​(int key,
                              int value)

    - #### lookup

          int lookup​(int key)
              throws java.util.NoSuchElementException

      Throws:
        `java.util.NoSuchElementException`

    - #### lookup

          int lookup​(int key,
                     int def)

    - #### size

          int size()

    - #### clear

          void clear()