Package com.pnfsoftware.jeb.util.collect
package com.pnfsoftware.jeb.util.collect
Collections, such as segments, custom maps/sets/lists, etc.
-
ClassDescriptionA concurrent map whose keys are addresses represented as unsigned
longvalues.A concurrent set whose values are addresses represented as unsignedlongvalues.Segment-map specialized to handle memory addresses, up to 64-bit.A concurrent ordered map whose keys are addresses represented as unsignedlongvalues.A concurrent ordered set whose values are 'addresses' hardcoded asunsigned long.ArrayList1<E>A list ideally suited to contain 0 or 1 element.Utility methods for arrays.Highly efficient, loosely bounded concurrent pseudo-queue for single-reader/multiple-writers scenarios.BiMap<K,V> A bidirectional map of key-values.A fast, efficient bitmap making optimal use of memory.A dynamic byte array (pipe).CacheMap<K,V> A simpleCacheMap, with optional support for cached entries ordering.CFBytesTrie<T>A trie map specialized to handle context-free (CF) binary strings.The key extractor provides the bytes used in the trie for an element.A node in the trie.List of collection orderings.Convenience methods for Javacollections, in particular,lists.Thesetversion of aConcurrentHashMap.A concurrent version ofArrayList.DisjointSets<T>This type represents disjoint sets.A (small) set oflongvalues backed by aBitmapfor fast insertion/retrieval and zero allocation at run-time.HashedList<E>A List type suitable for long lists of unique items for whichpresence checksare often required.Thesetversion of anIdentityHashMap.IExtractor<T,K> Generic extractor functional interface.Definition of map holding multiplesegments.Standard implementation of a segment using an integer treated as a signed value.An integer gauge is used to define an integer range to be filled.A memory-efficient list ofintprimitives.A memory-efficient map (dictionary) ofintprimitives tointprimitives.ISegment<K extends Comparable<K>>The value type used bysegment-maps, a segment has a beginning and end.ISegmentFactory<K,V> Factory method forsegment-map segments.A verifier forsegmentbounds to determine what to do when an operation is undertaken.List of verification codes.Definition of asegment-map, a data structure similar to aninterval-map.ItemHistory<T>Generic tracker of items, based on a simple history queue (get last, get next) model.Collection of utility functions to create or manipulate concrete or abstractlists.Standard implementation of a segment using anlongtreated as a signed value.MapBuilder<K,V> A builder ofmaps.Utility methods formaps.MultiList<E>A list of lists to be used as a fast-access multi-map for cases where the key is an integer index located in a compact [0, N] range.MultiMap<K,V> A map of keys to lists, whose insertion order for the values of a given key is maintained.Standard implementation of a multi-segment map.A simple, thread-safe object reference counter.Standard implementation of a segment-map using aTreeMapas the underlying data structure.SetMap<K,V> A map of keys to sets.Utility methods forsets.A serializable, inefficient, fully synchronized, identity pseudo-map.A serializable, inefficient, fully synchronized, linked pseudo-map.A serializable, inefficient, fully synchronized, linked pseudo-set.Failure handler forVerifiedDeque.WeakIdentityHashMap<K,V> A pseudo map where keys are compared using identity comparison (likeIdentityHashMap) but where the presence of an object as a key in the map does not prevent it being garbage collected (likeWeakHashMap).A list of weak references.WeakValueMap<K,V> A pseudo-map whose values do not prevent garbage collection of entries.