The decorator supports the removal operation, but an {@link IllegalStateException}will be thrown if {@link #remove()} is called directly after a call to{@link #peek()} or {@link #element()}. @since 4.0 @version $Id: PeekingIterator.java 1479760 2013-05-07 05:12:06Z tn $
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|