APIdia Launch Partner
Top Description Methods
jdk.internal.net.http

pack-priv Interface CheckedIterable<E>

Annotations
@FunctionalInterface
Type Parameters
<E>
the type of elements returned by the produced iterators
Imports
java.util.Iterator

An Iterable clone supporting checked exceptions.

Method Summary

Modifier and TypeMethod and Description
public static <E> CheckedIterable<E>
fromIterable(Iterable<E> iterable)

public CheckedIterator<E>

Returns:

an iterator over elements of type E
iterator
()

Returns an iterator over elements of type E.

Method Detail

fromIterableback to summary
public static <E> CheckedIterable<E> fromIterable(Iterable<E> iterable)
iteratorback to summary
public CheckedIterator<E> iterator() throws Exception

Returns an iterator over elements of type E.

Returns:CheckedIterator<E>

an iterator over elements of type E