Class IntIterator4set<T extends FeatureStructure>

    • Constructor Detail

    • Method Detail

      • isValid

        public boolean isValid()
        Description copied from interface: LowLevelIterator
        Check if the iterator is currently valid.
        Returns:
        true iff the iterator is valid.
      • moveToFirst

        public void moveToFirst()
        If empty, make position -1 (invalid)
      • moveToLast

        public void moveToLast()
        If empty, make position -1 (invalid)
      • moveToNext

        public void moveToNext()
        Description copied from interface: LowLevelIterator
        Advance the iterator. This may invalidate the iterator.
      • moveToPrevious

        public void moveToPrevious()
        Description copied from interface: LowLevelIterator
        Move the iterator back one position. This may invalidate the iterator.
      • get

        public int get()
      • copy

        public java.lang.Object copy()
        Description copied from interface: LowLevelIterator
        Create a copy of this iterator. The copy will point at the same element that this iterator is currently pointing at.
        Returns:
        A copy of this iterator.
        See Also:
        IntPointerIterator.copy()
      • moveTo

        public void moveTo​(int i)
        Description copied from interface: LowLevelIterator
        Try to position the iterator so that the current element is greater than or equal to fsRef, and previous elements are less than fsRef. This may invalidate the iterator. If fsRef can not be compared to FSs in the index, the results are undefined.
        Parameters:
        i - The FS reference the iterator should be set to.
        See Also:
        IntPointerIterator.moveTo(int)
      • ll_indexSize

        public int ll_indexSize()
        Description copied from interface: LowLevelIterator
        Return the size of the underlying index.
        Returns:
        The size of the index.