List of usage examples for java.lang Iterable interface-usage
From source file com.rusticisoftware.tincan.LanguageMap.java
/** * Language map */ @NoArgsConstructor public class LanguageMap extends JSONBase implements Iterable<Map.Entry<String, String>> { private final HashMap<String, String> _map = new HashMap<String, String>();
From source file org.amplafi.flow.impl.SessionFlows.java
public class SessionFlows implements Iterable<FlowStateImplementor> { private LinkedList<FlowStateImplementor> activeFlows = new LinkedList<FlowStateImplementor>(); private Map<String, FlowStateImplementor> activeFlowsMap = new ConcurrentHashMap<String, FlowStateImplementor>(); public synchronized boolean remove(FlowStateImplementor flowState) { activeFlowsMap.values().remove(flowState);
From source file de.dhke.projects.cutil.collections.iterator.MultiMapEntryIterable.java
/** * * @author Peter Wullinger <java@dhke.de> */ public class MultiMapEntryIterable<K, V> implements Iterable<Map.Entry<K, V>> { private final Iterable<Map.Entry<K, Collection<V>>> _baseIterable;
From source file de.dhke.projects.cutil.collections.iterator.MultiMapPairIterable.java
/** * * @author Peter Wullinger <peter.wullinger@uni-bamberg.de> */ public class MultiMapPairIterable<K, V> implements Iterable<Pair<K, V>> { private final Iterable<Map.Entry<K, V>> _baseIterable;
From source file com.megacorp.commerce.ShoppingCart.java
/**
* A simple domain object for the sake of ITests.
*
* @author russell
*
*/
From source file org.thomnichols.android.gmarks.ThreadIterator.java
public abstract class ThreadIterator<T> implements Iterator<T>, Iterable<T> { static final String TAG = "BOOKMARK THREAD ITERATOR"; protected final BookmarksQueryService bookmarksQueryService; private static final String uriTemplate = "https://www.google.com/bookmarks/api/threadsearch?fo=%s&g=Time&nr=25&start="; private final String uriBase;
From source file com.eharmony.matching.seeking.executor.mongodb.MongoResults.java
/**
* Transform the results returned from MongoDB via Morphia as they are iterated.
*
* @param <T>
* the return type
*/
From source file com.zyz.mobile.file.FileClipboard.java
public class FileClipboard implements Iterable<File> { private ArrayList<File> clipboard = new ArrayList<File>(); public final static int MODE_NONE = 1; public final static int MODE_CUT = 2;
From source file org.zephyrsoft.sdb2.model.statistics.SongStatistics.java
/** * Statistics about the displaying of one specific song. * * @author Mathis Dirksen-Thedens */ @XStreamAlias("songStatistics")
From source file org.apache.parquet.cli.json.AvroJsonReader.java
public class AvroJsonReader<E> implements Iterator<E>, Iterable<E>, Closeable { private final GenericData model; private final Schema schema; private final InputStream stream; private Iterator<E> iterator;