public LruMapNode get(final LruMapNode key) {
        final int bin = (key.hash & 0xfffffff) % hashbins;

        LruMapNode e = binArray[bin];
        while (e != null) {
            if (key.equals(e)) {
                return e;
            }
            e = e.nextInBin;
        }
        return null;
    }
Something like LinkedHashMap, but purpose build, less dynamic and memory efficient

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