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

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

            if (key == tableKey)
            {
                break;
            }

            if (tableKey == 0)
            {
                break;
            }

            addr += 8;
        }

        buffer.putInt(addr, key);
        buffer.putInt(addr + 4, val);
    }
public void put(int key, int val)
    {
        int addr = addr(hash(key));

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

            if (key == tableKey)
            {
                break;
            }

            if (tableKey == 0)
            {
                break;
            }

            addr += 8;
        }

        buffer.putInt(addr, key);
        buffer.putInt(addr + 4, val);
    }
{@inheritDoc}