Package org.glassfish.jersey.internal.util.collection
package org.glassfish.jersey.internal.util.collection
Common set of Jersey collection classes.
-
ClassDescriptionAn
InputStream
backed by a queue ofbyte buffers
to be read.Cache<K,V> Cache implementation that relies on FutureTask.Should a cycle be detected during computation of a value for given key, this interface allows client code to register a callback that would get invoked in such a case.A pair of raw class and the related type.Utility class, which tries to pickup the best collection implementation depending on running environment.TheMultivaluedMap
wrapper that is able to set guards observing changes of values represented by a key.Set of convenient function regarding a collection immutability.An immutable view of aMultivaluedMap
.A key comparator.KeyComparatorHashMap<K,V> A implementation similar toHashMap
but supports the comparison of keys using aKeyComparator
.A implementation similar toLinkedHashMap
but supports the comparison of keys using aKeyComparator
.LazyUnsafeValue<T,E extends Throwable> Lazily initializedunsafe value
.LazyValue<T>Lazily initializedvalue
.LRU<K,V> An abstract LRU interface wrapping an actual LRU implementation.An implementation ofMultivaluedMap
where keys and values are instances of String.An abstractInputStream
extension that defines contract for non-blocking streamingread
operations.An implementation ofMultivaluedMap
where values can benull
.Ref<T>A possibly mutable value reference.A collection ofreference
factory & utility methods.Settable<T>A generic settable value container.Case insensitive String key comparator.Multivalued map with String keys that are compared with each other using the case insensitive method.Deprecated.UnsafeValue<T,E extends Throwable> A generic value provider, similar toValue
, but able to throw an exception.Value<T>A generic value provider.A collection ofValue provider
factory & utility methods.