Code example for Iterator

Methods: remove

0
		}: 
		new Iterator<T>() {
			final Iterator<S> it = ib.iterator();
			/*@Override**/ public boolean hasNext() { return it.hasNext(); }
			/*@Override**/ public T next() { return CompositeIterable.this.nextFor(it.next()); }
			/*@Override**/ public void remove() { it.remove(); }
		}; 
	} 
 
	/** 
	** Returns an object of the target type given an object of the source type. 
	*/ 
	abstract protected T nextFor(S elem);
 
}