public class OptionalIterable<T> extends Object implements Iterable<T>
isSupported()
.Constructor and Description |
---|
OptionalIterable(Iterable<T> iterable) |
public static <T> OptionalIterable<T> absent()
public Iterator<T> iterator()
iterator
in interface Iterable<T>
isSupported()
is true,
or empty iterator in other case.public boolean isSupported()
Copyright © 2013 Atlassian. All Rights Reserved.