Package com.cedarsoftware.util
package com.cedarsoftware.util
-
ClassDescriptionAn abstract thread-safe implementation of the
ConcurrentMapinterface that allowsnullkeys andnullvalues.A customizable extension ofGZIPOutputStreamthat allows users to specify the compression level.A utility class that provides various static methods for working with Java arrays.A utility class providing static methods for operations on byte arrays and hexadecimal representations.CaseInsensitiveMap<K,V> A Map implementation that provides case-insensitive key comparison forStringkeys, while preserving the original case of the keys.Wrapper class for String keys to enforce case-insensitive comparison.A utility class providing various methods for working with JavaClassobjects and related operations.Container for class hierarchy information to avoid redundant calculations Not considered API.A Map implementation keyed on Class objects that leverages a ClassValue cache for extremely fast lookups.A Set implementation for Class objects that leverages a ClassValue cache for extremely fast membership tests.A utility class providing enhanced operations for working with Java collections.CompactCIHashMap<K,V> A case-insensitive Map implementation that uses a compact internal representation for small maps.A case-insensitive Set implementation that uses a compact internal representation for small sets.CompactCILinkedMap<K,V> A case-insensitive Map implementation that uses a compact internal representation for small maps.A case-insensitive Set implementation that uses a compact internal representation for small sets.CompactLinkedMap<K,V> A case-insensitive Map implementation that uses a compact internal representation for small maps.A case-insensitive Set implementation that uses a compact internal representation for small sets.CompactMap<K,V> A memory-efficientMapimplementation that adapts its internal storage structure to minimize memory usage while maintaining excellent performance.CompactMap.Builder<K,V> Builder class for creating customized CompactMap instances.Comparator implementation for CompactMap key ordering.CompactSet<E>A memory-efficient Set implementation that internally usesCompactMap.Builder for creating CompactSet instances with custom configurations.A thread-safe implementation ofConcurrentMapthat supportsnullkeys andnullvalues by using internal sentinel objects.A high-performance thread-safe implementation ofList,Deque, andRandomAccessinterfaces, specifically designed for highly concurrent environments with exceptional performance characteristics.ConcurrentNavigableMapNullSafe is a thread-safe implementation ofConcurrentNavigableMapthat allowsnullkeys and values.ConcurrentNavigableSetNullSafe is a thread-safe implementation of NavigableSet that allows null elements by using a unique sentinel value internally.ConcurrentSet provides a Set that is thread-safe and usable in highly concurrent environments.Utility class containing common defensive programming helpers.Instance conversion utility for converting objects between various types.A flexible InputStream that generates data on-the-fly using various generation strategies.Utility for parsing String dates with optional times, supporting a wide variety of formats and patterns.Performs a deep comparison of two objects, going beyond simpleequals()checks.Utility class providing cryptographic operations including hashing, encryption, and decryption.Useful Exception Utilities.Captures the result of executing a command.A utility class for executing system commands and capturing their output.Faster version of ByteArrayInputStream that does not have synchronized methods.Faster version of ByteArrayOutputStream that does not have synchronized methods.Buffered, Pushback, Reader that does not use synchronization.Buffered Writer that does not use synchronization.Graph Utility algorithms, such as Asymmetric Graph Difference.Represents a single difference between two object graphs.These are all possible Delta.Commands that are generated when performing the graph comparison.Extension ofGraphComparator.Deltathat associates an error message with the delta that failed to be applied.Strategy interface used when applyingGraphComparator.Deltaobjects to a source graph.Callback used to obtain a unique identifier for a given object during graph comparison.Useful InetAddress UtilitiesIntervalSet<T extends Comparable<? super T>>Thread-safe set of half-open intervals [start, end) (start inclusive, end exclusive) for any Comparable type.IntervalSet.Interval<T extends Comparable<? super T>>Immutable value object representing one interval.Utility class providing robust I/O operations with built-in error handling and resource management.Callback interface for monitoring and controlling byte transfers.Configures java.util.logging to use a uniform log format similar to popular frameworks like SLF4J/Logback.Simple formatter for tests that produces clean output similar to Maven's format:[LEVEL] messageFormatter producing logs in the pattern:yyyy-MM-dd HH:mm:ss.SSS [thread] LEVEL logger - messageLRUCache<K,V> This class provides a thread-safe Least Recently Used (LRU) cache API that evicts the least recently used items once a threshold is met.Useful utilities for MapsMathematical utility class providing enhanced numeric operations and algorithms.MultiKeyMap<V>High-performance N-dimensional key-value Map implementation - the definitive solution for multidimensional lookups.Builder for creating configured MultiKeyMap instances.Controls how Collections are treated when used as keys in MultiKeyMap.Utilities to simplify writing reflective code as well as improve performance of reflective operations like method and annotation lookups.Utility class for safe and efficient regular expression operations.Immutable container for regex match results.Thread-safe wrapper forSimpleDateFormatwith copy-on-write semantics.This class is used in conjunction with the Executor class.Comprehensive utility class for string operations providing enhanced manipulation, comparison, and conversion capabilities with null-safe implementations.Utility class providing common system-level operations and information gathering capabilities.Simple container class describing the JVM memory usage at a given point in time.Describes a network interface present on the host system.Captures the results of executing an operating system process.Useful Test utilities for common tasksTrackingMap<K,V> A Java Object Graph traverser that visits all object reference fields and invokes a provided callback for each encountered object, including the root.Represents a node visit during traversal, containing the node and its field information.Deprecated.TTLCache<K,V> A cache that holds items for a specified Time-To-Live (TTL) duration.TypeHolder<T>TypeHolder captures a generic Type (including parameterized types) at runtime.Useful APIs for working with Java types, including resolving type variables and generic types.Generates guaranteed unique, time-based, strictly monotonically increasing IDs for distributed systems.Useful utilities for working with UrlConnections and IO.
Traverser.traverse(Object, Set, Consumer)instead.