T - Type of iterable objectspublic final class Smarts<T> extends Object implements Iterable<T>
This class should be used as a decorator for an iterable of objects, for example:
Iterable<Issue.Smart> issues = new Smarts<Issue.Smart>(
repo.issues().iterate(
new HashMap<String, String>()
)
);
for (Issue.Smart issue : issues) {
System.out.println("state is: " + issue.state());
}| Modifier and Type | Method and Description |
|---|---|
Iterator<T> |
iterator() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorCopyright © 2012–2018 jcabi.com. All rights reserved.