⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 iteratorindex.java

📁 j2ee项目开发
💻 JAVA
字号:
package com.sleepycat.collections;

public class IteratorIndex {
  public IteratorIndex() {
  }
  /**
   * 将Iterator指针移到指定位置
   * 由于StoredIterator的moveToIndex()方法是protected属性,因此设计了IteratorIndex类
   * 以便在com.sleepycat.collections包外调用该方法
   * @param iterator StoredIterator
   * @param index int
   * @throws Exception
   */
  public static void moveToIndex(StoredIterator iterator, int index) {
      iterator.moveToIndex(index);
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -