@Override
    public Set<Entry<String, Object>> entrySet() {
        return new AbstractSet<Entry<String, Object>>() {
            @Override
            public Iterator<Entry<String, Object>> iterator() {
                return entryIterator();
            }

            @Override
            public int size() {
                return BeanMap.this.readMethods.size();
            }
        };
    }
Gets a Set of MapEntry objects that are the mappings for this BeanMap.
<p>
Each MapEntry can be set but not removed.

@return the unmodifiable set of mappings
querydsl-core/src/main/java/com/querydsl/core/util/BeanMap.java