- hashCode() - Method in class com.coyotegulch.jisp.LongKey
-
Returns a hash code value for the object, which is, in effect, the
the value of the key.
- hashCode() - Method in class com.coyotegulch.jisp.StringKey
-
Returns a hash code value for the object, which is, in effect, the
the sum of the characters in the string key value.
- HashIndex - Class in com.coyotegulch.jisp
-
Deprecated.
- HashIndex(String) - Constructor for class com.coyotegulch.jisp.HashIndex
-
Deprecated.
Opens a file as a HashIndex
.
- HashIndex(String, int, int, KeyObject) - Constructor for class com.coyotegulch.jisp.HashIndex
-
Deprecated.
Creates the file as a HashIndex
.
- Huffman - Class in com.coyotegulch.jisp
-
Compresses and decompresses objects using the Huffman algorithm.
- Huffman() - Constructor for class com.coyotegulch.jisp.Huffman
-
- HuffmanEncoded - Class in com.coyotegulch.jisp
-
A compressed object and its encoding table.
- HuffmanEncoded() - Constructor for class com.coyotegulch.jisp.HuffmanEncoded
-
- HuffmanException - Exception in com.coyotegulch.jisp
-
Standard exception type thrown by the Huffman compression.
- HuffmanException() - Constructor for exception com.coyotegulch.jisp.HuffmanException
-
Constructs a new HuffmanException
with null as its error message string.
- HuffmanException(String) - Constructor for exception com.coyotegulch.jisp.HuffmanException
-
Constructs a new HuffmanException
with message
as its error
message string.
- HuffmanFilter - Class in com.coyotegulch.jisp
-
A filter to automatically compress and decompress database records using the Huffman algorithm.
- HuffmanFilter() - Constructor for class com.coyotegulch.jisp.HuffmanFilter
-
- HuffmanHeader - Class in com.coyotegulch.jisp
-
Tables and information required to reconstitute an object compressed with the Huffman algorithm.
- HuffmanHeader() - Constructor for class com.coyotegulch.jisp.HuffmanHeader
-
- IndexedObjectDatabase - Class in com.coyotegulch.jisp
-
The IndexedObjectDatabase
class provides a mechanism for
using a key value to an object serialized to a file.
- IndexedObjectDatabase(String, boolean) - Constructor for class com.coyotegulch.jisp.IndexedObjectDatabase
-
Opens an existing IndexedObjectDatabase
, using a supplied file name.
- IndexIterator - Interface in com.coyotegulch.jisp
-
IndexIterator
defines an object that references a specific object relative to other
objects in an ObjectIndex
.
- insert(KeyObject[], Serializable) - Method in class com.coyotegulch.jisp.IndexedObjectDatabase
-
Write a new object to the database, associating it with the provided keys.
- insertKey(KeyObject, long) - Method in class com.coyotegulch.jisp.BTreeIndex
-
Insert a key into the index, associating a "reference" value with the given key.
- insertKey(KeyObject, long) - Method in class com.coyotegulch.jisp.HashIndex
-
Deprecated.
Insert a key into the database, associating a record position with the given key.
- insertKey(KeyObject, long) - Method in interface com.coyotegulch.jisp.ObjectIndex
-
Insert a key into the database, associating a record position with the given key.
- invalidate() - Method in class com.coyotegulch.jisp.BTreeIterator
-
Sets this iterator's state to invalid.
- IS_ACTIVE - Static variable in class com.coyotegulch.jisp.ObjectDatabaseFile
-
Marks a given record as containing live data
- IS_DELETED - Static variable in class com.coyotegulch.jisp.ObjectDatabaseFile
-
Marks a given record as deleted
- isValid() - Method in class com.coyotegulch.jisp.BTreeIterator
-
Checks to see if this iterator is valid.
- isValid() - Method in interface com.coyotegulch.jisp.IndexIterator
-
Checks to see if this iterator is valid.
- m_dataFile - Variable in class com.coyotegulch.jisp.ObjectDatabaseFile
-
Physical file containing serialized objects
- m_fileName - Variable in class com.coyotegulch.jisp.ObjectDatabaseFile
-
Name of the underlying physical file
- m_filter - Variable in class com.coyotegulch.jisp.ObjectDatabaseFile
-
Filter to be applied to each object read or written
- m_firstDeleted - Variable in class com.coyotegulch.jisp.ObjectDatabaseFile
-
File position of the first delete record
- main(String[]) - Static method in class com.coyotegulch.jisp.Jisp
-
The main function, run from the jisp JAR file to display version number and license.
- makeNullKey() - Method in class com.coyotegulch.jisp.KeyObject
-
Returns a "null" (i.e., blank) key, to be used as a space-holder in certain kinds of
ObjectIndexes
.
- makeNullKey() - Method in class com.coyotegulch.jisp.LongKey
-
Returns a "null" (i.e., blank) LongKey
, to be used as a space-holder in certain kinds of
ObjectIndexes
.
- makeNullKey() - Method in class com.coyotegulch.jisp.StringKey
-
Returns a "null" (i.e., blank) StringKey
, to be used as a space-holder in certain kinds of
ObjectIndexes
.
- moveFirst() - Method in class com.coyotegulch.jisp.BTreeIterator
-
Moves this iterator to the first key and reference in sequence.
- moveFirst() - Method in interface com.coyotegulch.jisp.IndexIterator
-
Moves this iterator to the first record in sequence.
- moveLast() - Method in class com.coyotegulch.jisp.BTreeIterator
-
Moves this iterator to the last key and reference in sequence.
- moveLast() - Method in interface com.coyotegulch.jisp.IndexIterator
-
Moves this iterator to the last record in sequence.
- moveNext() - Method in class com.coyotegulch.jisp.BTreeIterator
-
Moves this iterator to the next key and reference in sequence.
- moveNext() - Method in interface com.coyotegulch.jisp.IndexIterator
-
Moves this iterator to the next record in sequence.
- movePrevious() - Method in class com.coyotegulch.jisp.BTreeIterator
-
Moves this iterator to the previous key and reference in sequence.
- movePrevious() - Method in interface com.coyotegulch.jisp.IndexIterator
-
Moves this iterator to the previous record in sequence.
- moveTo(KeyObject) - Method in class com.coyotegulch.jisp.BTreeIterator
-
Moves this iterator to point to the given key
.
- moveTo(KeyObject) - Method in interface com.coyotegulch.jisp.IndexIterator
-
Moves this iterator to the record associated with the given key
.
- moveTo(KeyObject, boolean) - Method in class com.coyotegulch.jisp.BTreeIterator
-
Moves this iterator to point to the given key
.
- moveTo(KeyObject, boolean) - Method in interface com.coyotegulch.jisp.IndexIterator
-
Moves this iterator to the record associated with the given key
.
- read(IndexIterator) - Method in class com.coyotegulch.jisp.IndexedObjectDatabase
-
Read the object associated with a given iterator.
- read(KeyObject, ObjectIndex) - Method in class com.coyotegulch.jisp.IndexedObjectDatabase
-
Read the object associated with a given key.
- readExternal(ObjectInput) - Method in class com.coyotegulch.jisp.LongKey
-
LongKey
implements the readExternal method to restore its contents.
- readExternal(ObjectInput) - Method in class com.coyotegulch.jisp.StringKey
-
StringKey
implements the readExternal method to restore its contents.
- readObject() - Method in class com.coyotegulch.jisp.ObjectDatabaseFile
-
- RecordFilter - Interface in com.coyotegulch.jisp
-
A filter to automatically performs translations on objects stored in database records.
- remove(KeyObject[]) - Method in class com.coyotegulch.jisp.IndexedObjectDatabase
-
Delete the record associated with a given key.
- removeIndex(ObjectIndex) - Method in class com.coyotegulch.jisp.IndexedObjectDatabase
-
Removes the association of an index with this database.
- removeKey(KeyObject) - Method in class com.coyotegulch.jisp.BTreeIndex
-
Removes the given key from the index.
- removeKey(KeyObject) - Method in class com.coyotegulch.jisp.HashIndex
-
Deprecated.
Removes the given key from the index.
- removeKey(KeyObject) - Method in interface com.coyotegulch.jisp.ObjectIndex
-
Removes the given key from the index.
- replaceKey(KeyObject, long) - Method in class com.coyotegulch.jisp.BTreeIndex
-
Replaces the reference for the given key.
- replaceKey(KeyObject, long) - Method in class com.coyotegulch.jisp.HashIndex
-
Deprecated.
Replace the reference pos for the given key.
- replaceKey(KeyObject, long) - Method in interface com.coyotegulch.jisp.ObjectIndex
-
Replace the reference pos for the given key.
- rewind() - Method in class com.coyotegulch.jisp.ObjectDatabaseFile
-
Sets the current file pointer to the first byte beyond the file header.
- rewriteObject(Serializable) - Method in class com.coyotegulch.jisp.ObjectDatabaseFile
-
Re-writes a serializable object to the file, at the current file position.