# Package org.h2.util

Internal utility classes.

See: Description

Interface Summary
Interface | Description
--- | ---
Cache | The cache keeps frequently used objects in the main memory.
CacheWriter | The cache writer is called by the cache to persist changed data that needs to be removed from the cache.
Utils.ClassFactory | The utility methods will try to use the provided class factories to convert binary name of class to Class object.

Class Summary
Class | Description
--- | ---
AbbaDetector | Utility to detect AB-BA deadlocks.
AbbaLockingDetector | Utility to detect AB-BA deadlocks.
BitField | A list of bits.
Bits | Manipulations with bytes and arrays.
CacheHead | The head element of the linked list.
CacheLRU | A cache implementation based on the last recently used (LRU) algorithm.
CacheObject | The base object for all cached objects.
CacheTQ | An alternative cache implementation.
CloseWatcher | A phantom reference to watch for unclosed objects.
ColumnNamer | A factory for column names.
ColumnNamerConfiguration | The configuration for the allowed column names.
DateTimeFunctions | Date and time functions.
DateTimeUtils | This utility class contains time conversion functions.
DbDriverActivator | The driver activator loads the H2 driver when starting the bundle.
DebuggingThreadLocal<T> | Similar to ThreadLocal, except that it allows its data to be read from other threads - useful for debugging info.
DoneFuture<T> | Future which is already done.
HashBase | The base for other hash classes.
IntArray | An array with integer element.
IntIntHashMap | A hash map with int key and int values.
IOUtils | This utility class contains input/output functions.
JdbcUtils | This is a utility class with JDBC helper functions.
LazyFuture<T> | Single threaded lazy future.
LocalDateTimeUtils | This utility class contains time conversion functions for Java 8 Date and Time API classes.
MathUtils | This is a utility class with mathematical helper functions.
MergedResultSet | Merged result set.
NetUtils | This utility class contains socket helper functions.
New | This class contains static methods to construct commonly used generic objects such as ArrayList.
OsgiDataSourceFactory | This class implements the OSGi DataSourceFactory interface for the H2 JDBC driver.
ParserUtil |
Permutations<T> | A class to iterate over all permutations of an array.
Profiler | A simple CPU profiling tool similar to java -Xrunhprof.
ScriptReader | This class can split SQL scripts to single SQL statements.
SmallLRUCache<K,V> | This class implements a small LRU object cache.
SmallMap | A simple hash table with an optimization for the last recently used object.
SoftHashMap<K,V> | Map which stores items using SoftReference.
SortedProperties | Sorted properties file.
SourceCompiler | This class allows to convert source code to a class.
StatementBuilder | A utility class to build a statement.
StringUtils | A few String utility functions.
SynchronizedVerifier | A utility class that allows to verify access to a resource is synchronized.
Task | A method call that is executed in a separate thread.
TempFileDeleter | This class deletes temporary files when they are not used any longer.
ThreadDeadlockDetector | Detects deadlocks between threads.
ToChar | Emulates Oracle's TO_CHAR function.
ToDateParser | Emulates Oracle's TO_DATE function. This class holds and handles the input data form the TO_DATE-method
Tool | Command line tools implement the tool interface so that they can be used in the H2 Console.
Utils | This utility class contains miscellaneous functions.
ValueHashMap<V> | This hash map supports keys of type Value.

Enum Summary
Enum | Description
--- | ---
ToChar.Capitalization | Represents a capitalization / casing strategy.

## Package org.h2.util Description

Internal utility classes.