lojix/wam_prolog/src/main/com/thesett/aima/logic/fol/wam/indexing/IntIntOpenLinearTable.java
public int get(int key)
    {
        int addr = addr(hash(key));

        while (true)
        {
            int tableKey = buffer.getInt(addr);

            if (key == tableKey)
            {
                return buffer.getInt(addr + 4);
            }

            if (tableKey == 0)
            {
                return 0;
            }

            addr += 8;
        }
    }
public int get(int key)
    {
        int addr = addr(hash(key));

        while (true)
        {
            int tableKey = buffer.getInt(addr);

            if (key == tableKey)
            {
                return buffer.getInt(addr + 4);
            }

            if (tableKey == 0)
            {
                return 0;
            }

            addr += 8;
        }
    }
public int get ( int key ) { int addr = addr ( hash ( key ) ) ; while ( true ) { int tableKey = buffer . getInt ( addr ) ; if ( key == tableKey ) { return buffer . getInt ( addr + 4 ) ; } if ( tableKey == 0 ) { return 0 ; } addr += 8 ; } }
{@inheritDoc}
{