Module org.hsqldb
Package org.hsqldb.lib
Contains shared classes used by other HyperSQL classes.
-
Interface Summary Interface Description Collection<E> A basic collection of values.EventLogInterface Interface for logging events.FileAccess Interface for abstraction of file access.FileAccess.FileSync FilteredIterator.Filter<E> HsqlHeap<E> Provides the HyperSQL interface for Heap ADT implementations.InputStreamInterface An interface with methods similar tojava.io.InputStream
.IntLookup Interface for int to int lookup.Iterator<E> Interface for HyperSQL iterators.List<E> Interface for List collections.LongLookup Interface for long to long lookup.Map<K,V> Interface for collections of mapped key - value pairs.Map.Entry<K,V> Interface for a key - value pair.Notified ObjectComparator<T> Interface for equality comparison.PrimitiveIterator<E> Marker interface for iterators supporting nextInt or nextLong methods.RefCapableRBInterface Set<E> Marker interface for a Collection that is a Set of values.ThreadFactory Interface for a simple thread factory. -
Class Summary Class Description ArrayCounter Collection of routines for counting the distribution of the values in an int[] array.ArrayListIdentity<E> Extends HsqlArrayList.ArraySort FastQSorts the [l,r] partition (inclusive) of the specified array of Rows, using the comparator.ArrayUtil Collection of static methods for operations on arraysAsciiInputStream An input stream that reads US-ASCII values from a Reader, in compliance with the Java US_ASCII Charset encoder, including utf-16-surrogate-pairs.AsciiOutputStream An OutputStream that writes 7-bit US-ASCII values to a Writer, in compliance with the Java US_ASCII Charset decoder.BasicTextJdkLogFormatter An implementation of java.util.logging.Formatter very close to SimpleFormatter.CharArrayWriter A writer for char strings.ClosableByteArrayOutputStream Provides true Closable semantics ordinarily missing in aByteArrayOutputStream
.ClosableCharArrayWriter Provides Closable semantics ordinarily missing in aCharArrayWriter
.CountdownInputStream Counts down from a specified value the number of bytes actually read from the wrapped InputStream.CountUpDownLatch A variation onCountDownLatch
to allow counting up as well as down.DataOutputStream A wrapper for OutputStreamDoubleIntIndex Maintains an orderedinteger->integer
lookup table, consisting of two columns, one for keys, the other for values.DoubleLongIndex Maintains an orderedlong->long
lookup table, consisting of two columns, one for keys, the other for values.FileAccessRes Implementation of FileAccess for resources.FileArchiver Creates a direct, compressed or decompressed copy of a file.FileUtil A collection of file management methods.FileUtil.FileSync FilteredIterator<E> An iterator with an added filter.FrameworkLogger A logging framework wrapper that supports java.util.logging and log4j.HashMap<K,V> This class does not store null keys.HashSet<E> This class does not store null keys.HsqlArrayHeap<E> An HsqlHeap implementation backed by an array of objects and anObjectComparator
.HsqlArrayList<E> Intended as an asynchronous alternative to Vector.HsqlByteArrayInputStream This class is a replacement for both java.io.ByteArrayInputStream (without synchronization) and java.io.DataInputStreamHsqlByteArrayOutputStream This class is a replacement for both java.io.ByteArrayOuputStream (without synchronization) and java.io.DataOutputStreamHsqlConsoleHandler HsqlDeque<E> AList<E>
that also implementsDeque<E>
andQueue<E>
and methods for usage as stack.HsqlTaskQueue Provides very simple queued execution of Runnable objects in a background thread.HsqlTimer Facility to schedule tasks for future execution in a background thread.InOutUtil Input / Output utilityInputStreamWrapper A wrapper for a java.io.InputStream object.IntHashSet A set of int primitives.IntIndex Maintains an ordered integer index.IntKeyHashMap<V> A Map of int primitives to Object values.IntKeyHashMapConcurrent<V> A Map of int primitives to Object values, suitable for thread-safe access.IntKeyIntValueHashMap A Map of int primitive keys to int primitive values.IntKeyLongValueHashMap A Map of int primitive keys to long primitive values.IntValueHashMap<K> A Map of Object keys to int primitive values.KMPSearchAlgorithm Implements the Knuth-Morris-Pratt string search algorithm for searching streams or arrays of octets or characters.LineGroupReader Uses a LineNumberReader and returns multiple consecutive lines which conform to the specified group demarcation characteristics.LineReader A converter for InputStream to return String objects using the given charset for conversion.LongDeque A deque of long values.LongKeyHashMap<V> A Map of long primitives to Object values.LongKeyIntValueHashMap A Map of long primitives to int primitives.LongKeyLongValueHashMap A Map of long primitives to long primitive.LongValueHashMap<K> A Map of Object keys to long primitives.MapEntry<K,V> A key - value pair.MultiValueHashMap<K,V> A Map of Object keys to Object values which stores multiple values per key.ObjectComparator.DefaultComparator<T> Comparator that uses the equals and hash code methods of Objects.ObjectComparator.IdentityComparator<T> Comparator that uses identity for Object equality.OrderedHashMap<K,V> A Map which maintains the insertion order of the key/value pairs and allows access by index.OrderedHashSet<E> A list which is also a Set which maintains the inserted order of elements and allows access by index.OrderedIntHashSet A list which is also a set of int primitives which maintains the insertion order of the elements and allows access by index.OrderedIntKeyHashMap<V> A Map of int primitives to Object values which maintains the insertion order of the key/value pairs and allows access by index.OrderedLongHashSet A list which is also a set of long primitives which maintains the insertion order of the elements and allows access by index.OrderedLongKeyHashMap<V> A Map of long primitives to Object values which maintains the insertion order of the key/value pairs and allows access by index.ReaderInputStream This class is a part implementation of DataInput.ReadWriteLockDummy ReadWriteLockDummy.LockDummy RefCapablePropertyResourceBundle Just like PropertyResourceBundle, except keys mapped to nothing in the properties file will load the final String value from a text file.ScannerSearchAlgorithm Provides a string search facility using aScanner
.SimpleLog Simple log for recording abnormal events in persistenceStopWatch Provides the programatic analog of a physical stop watch.StringComparator StringConverter Collection of static methods for converting strings between different formats and to and from byte arrays.StringInputStream Minimal InputStream subclass to fetch bytes form a String.StringUtil Provides a collection of convenience methods for processing and creating objects withString
value components.ValidatingResourceBundle Purpose of this class is to wrap a RefCapablePropertyResourceBundle to reliably detect any possible use of a missing property key as soon as this class is clinitted.WrapperIterator<E> An Iterator that returns the elements of a specified array, or other iterators etc. -
Exception Summary Exception Description AppendableException Allows additional messages to be appended.