Package io.permazen.util
package io.permazen.util
General utility classes used with Permazen.
-
ClassDescriptionSupport superclass for
Set
implementations based on database entries.AbstractNavigableMap<K,V> Support superclass forNavigableMap
implementations based on database entries.Support superclass forNavigableSet
implementations based on database entries.Support superclass for classes that serialize and deserialize via XML.AnURLClassLoader
whose classpath can be modified at runtime.Bounds<T>Utility class used byAbstractNavigableSet
andAbstractNavigableMap
to define the (optional) upper and lower bounds of a restricted range.Upper and lower bound types.Reads bytes from a buffer.Byte manipulation utilities.Writes bytes to a buffer.CloseableRefs<C extends Closeable>ConvertedList<E,W> ConvertedNavigableMap<K,V, WK, WV> Provides a transformed view of a wrappedNavigableMap
using a strictly invertibleConverter
.Provides a transformed view of a wrappedNavigableSet
using a strictly invertableConverter
.ConvertedSet<E,W> ConvertedSpliterator<E,W> Provides a transformed view of a wrappedConvertedSpliterator
using 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 immutableNavigableMap
implementation optimized for read efficiency.An immutableNavigableSet
implementation optimized for read efficiency.Encodeslong
values 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 byComparator
classes 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
.Stream
utility methods.Various utility routines relating toTypeToken
s.CloseableIterator
implementation that provides a read-only view of an innerIterator
in which consecutive duplicate values are eliminated.Encodes unsigned (i.e., non-negative)int
values 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.