@Override
    public boolean put(final long id, final V value) {
        try {
            valueIn = value;
            if (contains(id, true)) {
                return true;
            }
            throw new RuntimeException("cannot only put on existing key in FrozenLongIntMap");
        } finally {
            valueIn = null;
            valueOut = null;
        }
    }
Frozen instance of Memory efficient Map
<p>
This one is readily sorted into a singe array for faster access

@author ab
main/src/main/java/cgeo/geocaching/brouter/util/FrozenLongMap.java