[Java] Rename org.rocksdb.Iterator to org.rocksdb.RocksIterator.

Summary:
Renamed Iterator to RocksIterator to avoid potential confliction with
the Java built-in Iterator.

Test Plan:
make rocksdbjava
make jtest

Reviewers: haobo, dhruba, sdong, ankgup87

Reviewed By: sdong

CC: leveldb, rsumbaly, swapnilghike, zzbennett

Differential Revision: https://reviews.facebook.net/D18615
This commit is contained in:
Yueh-Hsuan Chiang
2014-05-12 11:02:25 -07:00
parent 3f8da15bf9
commit d14581f936
7 changed files with 31 additions and 31 deletions

View File

@@ -186,7 +186,7 @@ public class RocksDBSample {
assert(false); //Should never reach here.
}
Iterator iterator = db.newIterator();
RocksIterator iterator = db.newIterator();
boolean seekToFirstPassed = false;
for (iterator.seekToFirst(); iterator.isValid(); iterator.next()) {