Package io.permazen.util
General utility classes used with Permazen.
-
Interface Summary Interface Description CloseableIterator<E> DiffGenerating<T> Implemented by classes that can generate a set of differences between themselves and other instances. -
Class Summary Class Description AbstractIterationSet<E> Support superclass forSet
implementations for which calculatingAbstractIterationSet.size()
requires an iteration through all of the set's elements to count them.AbstractNavigableMap<K,V> Support superclass forNavigableMap
implementations.AbstractNavigableSet<E> Support superclass forNavigableSet
implementations for which calculatingsize()
requires an iteration through all of the set's elements to count them.AbstractXMLStreaming Support superclass for classes that serialize and deserialize via XML.ApplicationClassLoader 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.ByteReader Reads bytes from a buffer.ByteUtil Byte manipulation utilities.ByteWriter Writes bytes to a buffer.CastFunction<T> AFunction
that casts objects to some type.CloseableTracker ConvertedList<E,W> ConvertedNavigableMap<K,V,WK,WV> Provides a transformed view of a wrappedNavigableMap
using a strictly invertibleConverter
.ConvertedNavigableSet<E,W> 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
.Diffs Used to report difference(s) between two hierarchical structures.ImmutableNavigableMap<K,V> An immutableNavigableMap
implementation optimized for read efficiency.ImmutableNavigableSet<E> An immutableNavigableSet
implementation optimized for read efficiency.ImplementationsReader Scans the classpath and parses XML descriptor files describing implementation classes.LongEncoder Encodeslong
values to/from binary, preserving sort order, and such that the length of the encoding is optimized for values near zero.MovingAverage Exponential moving average calculator.NavigableSetPager<E> Allows efficient forward and backward paging through aNavigableSet
.NavigableSets Utility methods relating toNavigableSet
.ParseContext Utility class supporting parsing of strings.UniqueIterator<E> UnsignedIntEncoder 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
. -
Enum Summary Enum Description BoundType Upper and lower bound types.