Package org.glassfish.jersey.internal.util.collection
Common set of Jersey collection classes.
-
Interface Summary Interface Description Cache.CycleHandler<K> 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.KeyComparator<K> A key comparator.LazyUnsafeValue<T,E extends Throwable> Lazily initializedunsafe value.LazyValue<T> Lazily initializedvalue.Ref<T> A possibly mutable value reference.Settable<T> A generic settable value container.TransferQueue<E> Deprecated. UnsafeValue<T,E extends Throwable> A generic value provider, similar toValue, but able to throw an exception.Value<T> A generic value provider. -
Class Summary Class Description ByteBufferInputStream AnInputStreambacked by a queue ofbyte buffersto be read.Cache<K,V> Cache implementation that relies on FutureTask.ClassTypePair A pair of raw class and the related type.DataStructures Utility class, which tries to pickup the best collection implementation depending on running environment.GuardianStringKeyMultivaluedMap<V> TheMultivaluedMapwrapper that is able to set guards observing changes of values represented by a key.ImmutableCollectors Set of convenient function regarding a collection immutability.ImmutableMultivaluedMap<K,V> An immutable view of aMultivaluedMap.KeyComparatorHashMap<K,V> A implementation similar toHashMapbut supports the comparison of keys using aKeyComparator.KeyComparatorLinkedHashMap<K,V> A implementation similar toLinkedHashMapbut supports the comparison of keys using aKeyComparator.LRU<K,V> An abstract LRU interface wrapping an actual LRU implementation.MultivaluedStringMap An implementation ofMultivaluedMapwhere keys and values are instances of String.NonBlockingInputStream An abstractInputStreamextension that defines contract for non-blocking streamingreadoperations.NullableMultivaluedHashMap<K,V> An implementation ofMultivaluedMapwhere values can benull.Refs A collection ofreferencefactory & utility methods.StringIgnoreCaseKeyComparator Case insensitive String key comparator.StringKeyIgnoreCaseMultivaluedMap<V> Multivalued map with String keys that are compared with each other using the case insensitive method.Values A collection ofValue providerfactory & utility methods.Views