org.kohsuke.github
Class PagedIterable<T>

java.lang.Object
  extended by org.kohsuke.github.PagedIterable<T>
All Implemented Interfaces:
Iterable<T>

public abstract class PagedIterable<T>
extends Object
implements Iterable<T>

Iterable that returns PagedIterator

Author:
Kohsuke Kawaguchi

Constructor Summary
PagedIterable()
           
 
Method Summary
 List<T> asList()
          Eagerly walk Iterable and return the result in a list.
abstract  PagedIterator<T> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PagedIterable

public PagedIterable()
Method Detail

iterator

public abstract PagedIterator<T> iterator()
Specified by:
iterator in interface Iterable<T>

asList

public List<T> asList()
Eagerly walk Iterable and return the result in a list.



Copyright © 2013. All rights reserved.