public class SingleObjectIterator extends Object implements Iterator
| コンストラクタと説明 |
|---|
SingleObjectIterator(Object object)
Creates a new single object iterator.
|
public SingleObjectIterator(Object object)
object - the object to iterate overpublic boolean hasNext()
hasNext インタフェース内 IteratorIterator.hasNext()public Object next()
next インタフェース内 IteratorNoSuchElementException - if the element has already been seenIterator.next()public void remove()
remove インタフェース内 IteratorUnsupportedOperationException - alwaysCopyright © 2001-2013 Codehaus. All Rights Reserved.