KeyStore: rename scan() to saw().

This commit is contained in:
Chia-chi Yeh
2009-09-22 03:04:46 +08:00
parent 1f6802295e
commit 613fcc8506

View File

@@ -92,12 +92,12 @@ public class KeyStore {
return contains(key.getBytes());
}
public byte[][] scan(byte[] prefix) {
public byte[][] saw(byte[] prefix) {
return execute('s', prefix);
}
public String[] scan(String prefix) {
byte[][] values = scan(prefix.getBytes());
public String[] saw(String prefix) {
byte[][] values = saw(prefix.getBytes());
if (values == null) {
return null;
}