Class EmptyMapIterator
- java.lang.Object
-
- org.apache.commons.collections.iterators.EmptyMapIterator
-
- All Implemented Interfaces:
java.util.Iterator,MapIterator,ResettableIterator
@Deprecated(since="2021-04-30") public class EmptyMapIterator extends java.lang.Object implements MapIterator, ResettableIterator
Deprecated.Apache Commons Collections version 3.x is being deprecated from AEMaaCS. The upgraded version 4.4 of Commons Collections is already included as replacement. Customers are advised to upgrade to this version of the library. Please note: the package name was changed to org.apache.commons.collections4. Further note that there are AEM APIs currently exposing the old collections classes; these will be updated in upcoming releases.Provides an implementation of an empty map iterator.- Since:
- Commons Collections 3.1
-
-
Field Summary
Fields Modifier and Type Field Description static MapIteratorINSTANCEDeprecated.Singleton instance of the iterator.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidadd(java.lang.Object obj)Deprecated.java.lang.ObjectgetKey()Deprecated.java.lang.ObjectgetValue()Deprecated.booleanhasNext()Deprecated.booleanhasPrevious()Deprecated.java.lang.Objectnext()Deprecated.intnextIndex()Deprecated.java.lang.Objectprevious()Deprecated.intpreviousIndex()Deprecated.voidremove()Deprecated.voidreset()Deprecated.voidset(java.lang.Object obj)Deprecated.java.lang.ObjectsetValue(java.lang.Object value)Deprecated.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.commons.collections.MapIterator
getKey, getValue, hasNext, next, remove, setValue
-
Methods inherited from interface org.apache.commons.collections.ResettableIterator
reset
-
-
-
-
Field Detail
-
INSTANCE
public static final MapIterator INSTANCE
Deprecated.Singleton instance of the iterator.- Since:
- Commons Collections 3.1
-
-
Method Detail
-
hasNext
public boolean hasNext()
Deprecated.
-
next
public java.lang.Object next()
Deprecated.
-
hasPrevious
public boolean hasPrevious()
Deprecated.
-
previous
public java.lang.Object previous()
Deprecated.
-
nextIndex
public int nextIndex()
Deprecated.
-
previousIndex
public int previousIndex()
Deprecated.
-
add
public void add(java.lang.Object obj)
Deprecated.
-
set
public void set(java.lang.Object obj)
Deprecated.
-
remove
public void remove()
Deprecated.
-
getKey
public java.lang.Object getKey()
Deprecated.
-
getValue
public java.lang.Object getValue()
Deprecated.
-
setValue
public java.lang.Object setValue(java.lang.Object value)
Deprecated.
-
reset
public void reset()
Deprecated.
-
-