Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.deephacks.tools4j.config.internal.core.query;
 
 
 
 
     private final com.googlecode.cqengine.resultset.ResultSet resultSet;
    private final CacheManager cacheManager;
    public ConfigResultSet(com.googlecode.cqengine.resultset.ResultSet resultSetCacheManager cacheManager) {
        this. = resultSet;
        this. = cacheManager;
    }
    @Override
    public Iterator<Objectiterator() {
        return new Iterator<Object>() {
            Iterator<ConfigIndexFieldsit = .iterator();
            @Override
            public boolean hasNext() {
                return .hasNext();
            }
            @Override
            public Object next() {
                return .get(.next().getBeanId());
            }
            @Override
            public void remove() {
                .remove();
            }
        };
    }
New to GrepCode? Check out our FAQ X