com.espertech.esper.collection.apachecommons
Class EmptyMapIterator

java.lang.Object
  extended by com.espertech.esper.collection.apachecommons.EmptyMapIterator
All Implemented Interfaces:
MapIterator, ResettableIterator, java.util.Iterator

public class EmptyMapIterator
extends java.lang.Object
implements MapIterator, ResettableIterator

Provides an implementation of an empty map iterator.

Since:
Commons Collections 3.1
Version:
$Revision$ $Date$
Author:
Stephen Colebourne

Field Summary
static MapIterator INSTANCE
          Singleton instance of the iterator.
 
Constructor Summary
protected EmptyMapIterator()
          Constructor.
 
Method Summary
 void add(java.lang.Object obj)
           
 java.lang.Object getKey()
           
 java.lang.Object getValue()
           
 boolean hasNext()
           
 boolean hasPrevious()
           
 java.lang.Object next()
           
 int nextIndex()
           
 java.lang.Object previous()
           
 int previousIndex()
           
 void remove()
           
 void reset()
           
 void set(java.lang.Object obj)
           
 java.lang.Object setValue(java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.espertech.esper.collection.apachecommons.MapIterator
getKey, getValue, hasNext, next, remove, setValue
 
Methods inherited from interface com.espertech.esper.collection.apachecommons.ResettableIterator
reset
 

Field Detail

INSTANCE

public static final MapIterator INSTANCE
Singleton instance of the iterator.

Since:
Commons Collections 3.1
Constructor Detail

EmptyMapIterator

protected EmptyMapIterator()
Constructor.

Method Detail

hasNext

public boolean hasNext()

next

public java.lang.Object next()

hasPrevious

public boolean hasPrevious()

previous

public java.lang.Object previous()

nextIndex

public int nextIndex()

previousIndex

public int previousIndex()

add

public void add(java.lang.Object obj)

set

public void set(java.lang.Object obj)

remove

public void remove()

getKey

public java.lang.Object getKey()

getValue

public java.lang.Object getValue()

setValue

public java.lang.Object setValue(java.lang.Object value)

reset

public void reset()

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