@Export
Package org.opendaylight.yangtools.util
Various utility classes.
-
Interface Summary Interface Description EvenMoreObjects.BooleanEqualsFunction<T> ModifiableMapPhase<K,V> AMap
which can be modified and supports efficient conversion to an unmodifiable map.TopologicalSort.Edge Interface for edges in graph that can be sorted topologically.TopologicalSort.Node Interface for nodes in graph that can be sorted topologically.UnmodifiableMapPhase<K,V> AMap
which cannot be modified and supports efficient conversion to aModifiableMapPhase
. -
Class Summary Class Description AbstractIdentifier<T> An abstractIdentifier
backed by an immutable object.AbstractStringIdentifier<T extends AbstractStringIdentifier<T>> UtilityIdentifier
backed by aUUID
.AbstractUUIDIdentifier<T extends AbstractUUIDIdentifier<T>> UtilityIdentifier
backed by aUUID
.ClassLoaderUtils Utility methods for working with ClassLoaders and classes.CollectionWrappers DurationStatisticsTracker Abstract class that calculates and tracks time duration statistics.EmptyDeque<E> A specialized always-empty implementation ofDeque
.EvenMoreObjects Utility helping to implement readable equals() methods.ExecutorServiceUtil Utility methods for dealing withExecutorService
s.ForwardingIdentityObject<T> AForwardingObject
which additionally masksForwardingIdentityObject.hashCode()
/ForwardingIdentityObject.equals(Object)
of a delegate object, so that it can be a data transfer object with data-dependent implementations of those contracts can be use in collections and maps which need to work on identity.HashCodeBuilder<T> Utility class for incrementally building object hashCode by hashing together component objects, one by one.ImmutableMapTemplate<K> Template for instantiatingUnmodifiableMapPhase
instances with a fixed set of keys.ImmutableOffsetMap<K,V> Implementation of theMap
interface which stores a set of immutable mappings using a key-to-offset map and a backing array.ImmutableOffsetMapTemplate<K> Template for instantiatingImmutableOffsetMap
instances with a fixed set of keys.LazyCollections Utility methods for lazily instantiated collections.ListenerRegistry<T extends EventListener> A registry of EventListeners, maintaining a set of registrations.MapAdaptor A simple layer on top of maps, which performs snapshot mediation and optimization of what the underlying implementation is.MutableOffsetMap<K,V> A mutable version ofImmutableOffsetMap
.ObjectRegistry<T> PropertyUtils Provides utilities for system properties.SharedSingletonMap<K,V> Implementation of theMap
interface which stores a single mapping.SharedSingletonMapTemplate<K> Template for instantiatingSharedSingletonMap
instances with a fixed key.SingletonSet<E> ASet
containing a single value.SingletonSpliterators Utility methods for instantiatingSpliterator
s containing a single element.TopologicalSort Utility class that provides topological sort.TopologicalSort.EdgeImpl Basic Edge implementation.TopologicalSort.NodeImpl Basic Node implementation.UnmodifiableCollection<E> An unmodifiable view over aCollection
.UnmodifiableMap<K,V> An unmodifiable view over aMap
.