org.hibernate.util
Class SingletonIterator

java.lang.Object
  extended by org.hibernate.util.SingletonIterator
All Implemented Interfaces:
Iterator

public final class SingletonIterator
extends Object
implements Iterator

Author:
Gavin King

Constructor Summary
SingletonIterator(Object value)
           
 
Method Summary
 boolean hasNext()
           
 Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingletonIterator

public SingletonIterator(Object value)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator

next

public Object next()
Specified by:
next in interface Iterator

remove

public void remove()
Specified by:
remove in interface Iterator


Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.