Package org.opendaylight.yangtools.util
@Export
package org.opendaylight.yangtools.util
Various utility classes.
-
ClassDescriptionAn abstract
Identifier
backed by an immutable object.AbstractStringIdentifier<T extends AbstractStringIdentifier<T>>UtilityIdentifier
backed by aUUID
.AbstractUUIDIdentifier<T extends AbstractUUIDIdentifier<T>>UtilityIdentifier
backed by aUUID
.Utility methods for working with ClassLoaders and classes.Abstract class that calculates and tracks time duration statistics.EmptyDeque<E>A specialized always-empty implementation ofDeque
.Utility methods for dealing withExecutorService
s.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.Utility class for incrementally building object hashCode by hashing together component objects, one by one.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.Template for instantiatingImmutableOffsetMap
instances with a fixed set of keys.Utility methods for lazily instantiated collections.ListenerRegistry<T extends EventListener>Deprecated, for removal: This API element is subject to removal in a future version.A simple layer on top of maps, which performs snapshot mediation and optimization of what the underlying implementation is.ModifiableMapPhase<K,V> AMap
which can be modified and supports efficient conversion to an unmodifiable map.MutableOffsetMap<K,V> A mutable version ofImmutableOffsetMap
.Provides utilities for system properties.SharedSingletonMap<K,V> Implementation of theMap
interface which stores a single mapping.Template for instantiatingSharedSingletonMap
instances with a fixed key.SingletonSet<E>ASet
containing a single value.Utility methods for instantiatingSpliterator
s containing a single element.Utility class that provides topological sort.Interface for edges in graph that can be sorted topologically.Basic Edge implementation.Interface for nodes in graph that can be sorted topologically.Basic Node implementation.An unmodifiable view over aCollection
.UnmodifiableMap<K,V> An unmodifiable view over aMap
.UnmodifiableMapPhase<K,V> AMap
which cannot be modified and supports efficient conversion to aModifiableMapPhase
.
ObjectRegistry
instead