| Constructor and Description |
|---|
FallibleIterator(Class<E> clazz,
List<? extends Object> elements)
Creates an instance with a given type of the elements and given actual elements.
|
public FallibleIterator(Class<E> clazz, List<? extends Object> elements) throws IllegalArgumentException
clazz - the type of elementselements - the actual elements, including RuntimeExceptionsIllegalArgumentException - if the elements are neither RuntimeExceptions nor have the declared type.Copyright © 2014. All Rights Reserved.