@Override
    public synchronized boolean contains(final Object o) {
        return map.containsKey(o);
    }
Synchronized check for containment
Copy of the HashSet code if contains()

@see HashSet
main/src/main/java/cgeo/geocaching/utils/LeastRecentlyUsedSet.java