Class Common_hash_support.CommonKeyIterator

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected CommonKeyIterator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()
      Check if there is a next element.
      boolean hasPrevious()
      Check if there is a previous element.
      void moveToEnd()
      Move the iterator to the end of the underlying index.
      void moveToStart()
      Move the iterator to the start of the underlying index.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • curPosition

        protected int curPosition
      • firstPosition

        protected final int firstPosition
    • Constructor Detail

      • CommonKeyIterator

        protected CommonKeyIterator()
    • Method Detail

      • hasNext

        public boolean hasNext()
        Description copied from interface: IntListIterator
        Check if there is a next element. Does not move the iterator.
        Specified by:
        hasNext in interface IntListIterator
        Returns:
        true iff there is a next element.
      • hasPrevious

        public boolean hasPrevious()
        Description copied from interface: IntListIterator
        Check if there is a previous element. Does not move the iterator.
        Specified by:
        hasPrevious in interface IntListIterator
        Returns:
        true iff there is a previous element.
      • moveToStart

        public void moveToStart()
        Description copied from interface: IntListIterator
        Move the iterator to the start of the underlying index.
        Specified by:
        moveToStart in interface IntListIterator
      • moveToEnd

        public void moveToEnd()
        Description copied from interface: IntListIterator
        Move the iterator to the end of the underlying index.
        Specified by:
        moveToEnd in interface IntListIterator