# 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.
Bits | Manipulations with bytes and arrays.
ByteStack | The stack of byte values.
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.
CurrentTimestamp |
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.
IntervalUtils | This utility class contains interval conversion functions.
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.
JSR310 | This utility class to check presence of JSR 310.
LazyFuture<T> | Single threaded lazy future.
MathUtils | This is a utility class with mathematical helper functions.
MemoryUnmapper | Unsafe memory unmapper.
NetUtils | This utility class contains socket helper functions.
NetUtils2 | This utility class contains additional socket helper functions.
NetworkConnectionInfo | Network connection information.
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.
SimpleColumnInfo | Metadata of a column.
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.
StringUtils | A few String utility functions.
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.
TimeZoneProvider | Provides access to time zone API.
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.

## Package org.h2.util Description

Internal utility classes.