public class SingletonIterator<T>
extends java.lang.Object
implements java.util.Iterator<T>
| Constructor and Description |
|---|
SingletonIterator(T element)
Create a new singleton iterator.
|
public SingletonIterator(T element)
element - The element.Copyright © 2014. All Rights Reserved.