E - the type of the elementsO - the type of the objectpublic final class EachWithObjectIterable<E,O>
extends java.lang.Object
implements java.lang.Iterable<java.util.Map.Entry<E,O>>
EachWithObjectIterable iterates each element with an object.| Constructor and Description |
|---|
EachWithObjectIterable(java.lang.Iterable<? extends E> iter,
O obj)
Creates an
EachWithObjectIterable. |
public EachWithObjectIterable(java.lang.Iterable<? extends E> iter, O obj)
EachWithObjectIterable.iter - an Iterableobj - an Objectjava.lang.NullPointerException - if iter or obj is null