Class IDObjectMap.ObjectIterator

java.lang.Object
com.aquima.interactions.matching.util.IDObjectMap.ObjectIterator
Enclosing class:
IDObjectMap

public static final class IDObjectMap.ObjectIterator extends Object
Iterator class that can be used to iterate over the contents of an IDObjectMap class.
Since:
6.2
Author:
O. Kerpershoek, F. van der Meer
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    This method returns the ID of the current Object from the map.
    This method returns the current object from the map.
    boolean
    This method returns a boolean indicating if another item is available in the map.
    boolean
    This method returns a boolean indicating if another item is available in the map.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • next

      public boolean next()
      This method returns a boolean indicating if another item is available in the map. Invoking this method will cause the iterator to skip to the next element.
      Returns:
      a boolean indicating if another item is available in the map.
    • hasNext

      public boolean hasNext()
      This method returns a boolean indicating if another item is available in the map.
      Returns:
      a boolean indicating if another item is available in the map.
    • getId

      public int getId()
      This method returns the ID of the current Object from the map.
      Returns:
      the ID of the current Object from the map.
    • getObject

      public Object getObject()
      This method returns the current object from the map.
      Returns:
      the current object from the map.