List of usage examples for java.util Iterator interface-usage
From source file enumj.Enumerator.java
/**
* {@code Iterator} with high composability.
* <p>
* Enumerators are {@link Iterator} objects with the following characteristics:
* </p>
* <ul>
From source file Utils.java
abstract class CheckedIterator<E> implements Iterator<E> { static final Object WAITING = new Object(); private final Iterator it;
From source file info.debatty.java.datasets.gaussian.Dataset.java
/** * Iterator implementation for the Gaussian Mixture Dataset. * @author Thibault Debatty */ final class GaussianIterator implements Iterator<double[]> { private final Random rand;
From source file com.github.xbn.text.StringUtil.java
class CharIteratorForQ implements Iterator<Character> { private CharSequence q = null; private int ix = -1; //constructors...START public CharIteratorForQ(Object str_toPad) {
From source file ReferenceCountMap.java
/**
* Iterator class for sparse values in an array. This type of iterator
* can be used for an object array which has references interspersed with
* <code>null</code>s.
*
* @author Dennis M. Sosnoski
From source file org.fao.faostat.api.core.jdbc.JDBCIterable.java
/** * @author <a href="mailto:guido.barbaglia@gmail.com">Guido Barbaglia</a> */ public class JDBCIterable implements Iterator<List<String>> { private static final Logger LOGGER = Logger.getLogger(JDBCIterable.class);
From source file FileBaseDataMap.java
class FileBaseDataMapIterator implements Iterator { private FileBaseDataMap fileBaseDataMap = null; private Object nowPositionKey = null;
From source file de.clusteval.run.result.ParameterOptimizationResult.java
class ParameterOptimizationResultIterator implements Iterator<Pair<ParameterSet, ClusteringQualitySet>> { protected ParameterOptimizationResult result; protected int currPos;
From source file com.spotify.reaper.cassandra.JmxProxy.java
/** * This code is copied and adjusted from from NodeProbe.java from Cassandra source. */ class ColumnFamilyStoreMBeanIterator implements Iterator<Map.Entry<String, ColumnFamilyStoreMBean>> { private Iterator<ObjectName> resIter;
From source file org.apache.cassandra.tools.NodeProbe.java
class ColumnFamilyStoreMBeanIterator implements Iterator<Map.Entry<String, ColumnFamilyStoreMBean>> { private MBeanServerConnection mbeanServerConn; Iterator<Entry<String, ColumnFamilyStoreMBean>> mbeans; public ColumnFamilyStoreMBeanIterator(MBeanServerConnection mbeanServerConn) throws MalformedObjectNameException, NullPointerException, IOException {