com.espertech.esper.collection
Class SafeIteratorNull<E>

java.lang.Object
  extended by com.espertech.esper.collection.SafeIteratorNull<E>
All Implemented Interfaces:
SafeIterator<E>, java.util.Iterator<E>

public class SafeIteratorNull<E>
extends java.lang.Object
implements SafeIterator<E>


Field Summary
static SafeIterator<EventBean> NULL_EVENT_ITER
           
 
Constructor Summary
SafeIteratorNull()
          Ctor.
 
Method Summary
 void close()
          Close the safe itertor, releasing locks.
 boolean hasNext()
           
 E next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL_EVENT_ITER

public static final SafeIterator<EventBean> NULL_EVENT_ITER
Constructor Detail

SafeIteratorNull

public SafeIteratorNull()
Ctor.

Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<E>

next

public E next()
Specified by:
next in interface java.util.Iterator<E>

close

public void close()
Description copied from interface: SafeIterator
Close the safe itertor, releasing locks. This is a required call and should preferably occur in a finally block.

Specified by:
close in interface SafeIterator<E>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<E>

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com