Example usage for java.lang Iterable interface-usage

List of usage examples for java.lang Iterable interface-usage

Introduction

In this page you can find the example usage for java.lang Iterable interface-usage.

Usage

From source file com.parser.EntryList.java

/**
 *
 * @author vigneshm
 */
public class EntryList implements Iterable<Entry> {
    private List<Entry> list;

From source file com.imaginary.home.controller.CommandList.java

public class CommandList implements Iterable<JSONObject> {
    private ArrayList<JSONObject> commands;
    private String serviceId;

    public CommandList(@Nonnull String serviceId, @Nonnull JSONObject... commands) {
        this.serviceId = serviceId;

From source file io.cloudslang.content.httpclient.build.auth.AuthTypes.java

    /*******************************************************************************
 * (c) Copyright 2014 Hewlett-Packard Development Company, L.P.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Apache License v2.0 which accompany this distribution.
 *

From source file edu.ksu.cis.santos.mdcf.dml.ast.AstNode.java

/**
 * Top-level AST class that all AST node inherits from.
 * 
 * @author <a href="mailto:robby@k-state.edu">Robby</a>
 */
public abstract class AstNode implements Iterable<Object> {

From source file com.addthis.bundle.value.ValueMap.java

@JsonDeserialize(as = HashValueMap.class)
public interface ValueMap extends ValueObject, Map<String, ValueObject>, Iterable<ValueMapEntry> {

    @Override
    public default Iterator<ValueMapEntry> iterator() {
        return Iterators.transform(entrySet().iterator(), DelegatingValueMapEntry::new);

From source file com.frank.search.solr.core.query.ParameterHolder.java

/**
 * Generic holder of additional parameters that can be added to a query. eg. per field overrides. <br />
 * The order in which elements are added will be preserved.
 * 
 * @author Christoph Strobl
 */

From source file com.imaginary.home.controller.ScheduledCommandList.java

public class ScheduledCommandList extends CommandList
        implements Iterable<JSONObject>, Comparable<ScheduledCommandList> {
    private long executeAfter;
    private String scheduleId;

    public ScheduledCommandList(@Nonnull String serviceId, @Nonnull String scheduleId, @Nonnegative long when,

From source file edu.cornell.mannlib.ld4lindexing.UriDiscoverer.java

/**
 * Produces a stream of URIs, along with the type of the document required.
 * 
 * You provide a list of query specs, which describe a document type and the
 * query used to obtain them.
 * 

From source file com.github.seqware.queryengine.util.SeqWareIterable.java

/**
 * All SeqWare iterable collections should be easily countable too
 *
 * @author dyuen
 * @version $Id: $Id
 */

From source file com.github.stephenc.mongodb.maven.ProcessObserver.java

class ProcessObserver implements ProcessDestroyer, Iterable<Process> {

    private final ProcessDestroyer delegate;

    private final Set<Process> processes = Collections.synchronizedSet(new HashSet<Process>());