public Iterator<Entry<String, Object>> entryIterator() {
        final Iterator<String> iter = keyIterator();
        return new Iterator<Entry<String, Object>>() {
            @Override
            public boolean hasNext() {
                return iter.hasNext();
            }

            @Override
            public Entry<String, Object> next() {
                String key = iter.next();
                Object value = get(key);
                return new MyMapEntry(BeanMap.this, key, value);
            }

            @Override
            public void remove() {
                throw new UnsupportedOperationException("remove() not supported for BeanMap");
            }
        };
    }
public Iterator < Entry < String , Object > > entryIterator ( ) { final Iterator < String > iter = keyIterator ( ) ; return new Iterator < Entry < String , Object > > ( ) { @ Override public boolean hasNext ( ) { return iter . hasNext ( ) ; } @ Override public Entry < String , Object > next ( ) { String key = iter . next ( ) ; Object value = get ( key ) ; return new MyMapEntry ( BeanMap . this , key , value ) ; } @ Override public void remove ( ) { throw new UnsupportedOperationException ( "remove() not supported for BeanMap" ) ; } } ; }
Convenience method for getting an iterator over the entries.

@return an iterator over the entries