Class IDScoreMap.Iterator

java.lang.Object
com.aquima.interactions.matching.util.IDScoreMap.Iterator
Enclosing class:
IDScoreMap

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

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    This method returns the ID of the current Object from the map.
    int
    This method returns the score of 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
  • Constructor Details

  • 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.
    • getScore

      public int getScore()
      This method returns the score of the current Object from the map.
      Returns:
      the score of the current Object from the map.