Module org.hsqldb

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

    Modifier and Type
    Method
    Description
    int
    add(int key, int value)
     
    boolean
    addUnsorted(int key, int value)
     
    void
     
    int
    lookup(int key)
     
    int
    lookup(int key, int def)
     
    int
     
  • Method Details

    • add

      int add(int key, int value)
    • addUnsorted

      boolean addUnsorted(int key, int value)
    • lookup

      int lookup(int key) throws NoSuchElementException
      Throws:
      NoSuchElementException
    • lookup

      int lookup(int key, int def)
    • size

      int size()
    • clear

      void clear()