class ReadOnlyEnumerationMap implements Map<String, V> {

    @SuppressWarnings("unchecked")
    public boolean containsValue(Object value) {
        V realValue = (V) value;
        for (Enumeration<String> keysIt = request.getKeys(); keysIt.hasMoreElements();) {
            if (realValue.equals(request.getValue(keysIt.nextElement()))) {
                return true;
            }
        }
        return false;
    }

    public  ReadOnlyEnumerationMap(HasKeys<V> request);

}