ORG.oclc.db
Class Key
java.lang.Object
|
+--ORG.oclc.db.Key
- public class Key
- extends Object
Key provides a means to sort a String key without losing an associated
offset.
Key
public Key(String key,
int offset)
- Parameters:
key
- sort keyoffset
- extra data stored with and sorted with key
Key
public Key(String key,
int offset,
boolean fillKey,
int reclen,
String dbname)
toString
public String toString()
- Overrides:
- toString in class Object
sortEm
public static void sortEm(Key[] keys)
- Do a shellshort on an array of Keys
- Parameters:
keys
- sort this
bubblesortEm
public static void bubblesortEm(Key[] keys)
- Do a bubblesort on an array of Keys
- Parameters:
keys
- sort this