All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yahoo.elide.datastores.jpa.ScrollableIterator Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2015, Yahoo Inc.
 * Licensed under the Apache License, Version 2.0
 * See LICENSE file in project root for terms.
 */
package com.yahoo.elide.datastores.jpa;

import com.yahoo.elide.datastores.jpql.porting.ScrollableIteratorBase;

import java.util.Iterator;

/**
 * Wraps ScrollableResult as Iterator.
 *
 * @param  type of return object
 */
public class ScrollableIterator extends ScrollableIteratorBase> {
    public ScrollableIterator(Iterator results) {
        super(results, Iterator::hasNext, Iterator::next);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy