Package io.permazen.util
package io.permazen.util
General utility classes used with Permazen.
-
ClassDescriptionSupport superclass for
Setimplementations based on database entries.AbstractNavigableMap<K,V> Support superclass forNavigableMapimplementations based on database entries.Support superclass forNavigableSetimplementations based on database entries.Support superclass for classes that serialize and deserialize via XML.AnURLClassLoaderwhose classpath can be modified at runtime.Bounds<T>Utility class used byAbstractNavigableSetandAbstractNavigableMapto define the (optional) upper and lower bounds of a restricted range.Upper and lower bound types.Zero or more bytes in read-only form.Reads out the data from an underlyingByteDatainstance.Gathers data from which to build aByteDatainstance.ByteDatamanipulation utilities.CloseableRefs<C extends Closeable>ConvertedList<E,W> ConvertedNavigableMap<K,V, WK, WV> Provides a transformed view of a wrappedNavigableMapusing a strictly invertibleConverter.Provides a transformed view of a wrappedNavigableSetusing a strictly invertableConverter.ConvertedSet<E,W> ConvertedSpliterator<E,W> Provides a transformed view of a wrappedConvertedSpliteratorusing a strictly invertableConverter.Implemented by classes that can generate a set of differences between themselves and other instances.Used to report difference(s) between two hierarchical structures.An immutableNavigableMapimplementation optimized for read efficiency.An immutableNavigableSetimplementation optimized for read efficiency.Encodeslongvalues to/from binary, preserving sort order, and such that the length of the encoding is optimized for values near zero.Exponential moving average calculator.Implemented byComparatorclasses that know whether or not their ordering is identical to the target Java type's natural ordering.Allows efficient forward and backward paging through aNavigableSet.Utility methods relating toNavigableSet.Utility class supporting parsing of strings.Exception for parse errors associated with aParseContext.Streamutility methods.Various utility routines relating toTypeTokens.CloseableIteratorimplementation that provides a read-only view of an innerIteratorin which consecutive duplicate values are eliminated.Encodes unsigned (i.e., non-negative)intvalues to/from self-delimited binary, preserving sort order, and such that the length of the encoding is optimized for values near zero and encoded values never begin with0xff.XML related utility methods.