接口 PeekableCharIterator

所有超级接口:
CharIterator, Cloneable
所有已知子接口:
PeekableCharRankIterator

public interface PeekableCharIterator extends CharIterator
Simple extension to the CharIterator interface
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    advanceIfNeeded(char thresholdVal)
    If needed, when iterating forward through the chars it will advance as long as the next value is smaller than val (as an unsigned short) when iterating in reverse through the chars it will advance as long as the next value is larger than val (as an unsigned short)
    Creates a copy of the iterator.
    char
    Look at the next value without advancing

    从接口继承的方法 org.bitlap.roaringbitmap.CharIterator

    hasNext, next, nextAsInt, remove
  • 方法详细资料

    • advanceIfNeeded

      void advanceIfNeeded(char thresholdVal)
      If needed, when iterating forward through the chars it will advance as long as the next value is smaller than val (as an unsigned short) when iterating in reverse through the chars it will advance as long as the next value is larger than val (as an unsigned short)
      参数:
      thresholdVal - threshold
    • peekNext

      char peekNext()
      Look at the next value without advancing
      返回:
      next value
    • clone

      Creates a copy of the iterator.
      指定者:
      clone 在接口中 CharIterator
      返回:
      a clone of the current iterator