Uses of Annotation Interface
org.agrona.generation.DoNotSub
Packages that use DoNotSub
Package
Description
Collections classes that support primitive types and tend to be cache friendly.
-
Uses of DoNotSub in org.agrona.collections
Fields in org.agrona.collections with annotations of type DoNotSubModifier and TypeFieldDescriptionprivate final intInt2ObjectCache.capacityprivate final intIntLruCache.capacityprivate final intLong2ObjectCache.capacityprivate final intLongLruCache.capacitystatic final intIntHashSet.DEFAULT_INITIAL_CAPACITYThe initial capacity used when none is specified in the constructor.static final intLongHashSet.DEFAULT_INITIAL_CAPACITYThe initial capacity used when none is specified in the constructor.private intIntArrayQueue.headprivate intLongArrayQueue.headprivate intIntArrayQueue.IntIterator.indexprivate intLongArrayQueue.LongIterator.indexstatic final intIntArrayList.INITIAL_CAPACITYInitial capacity to which the array will be sized.static final intLongArrayList.INITIAL_CAPACITYInitial capacity to which the array will be sized.private final floatInt2IntCounterMap.loadFactorprivate final floatLong2LongCounterMap.loadFactorprivate final intInt2ObjectCache.maskprivate final intLong2ObjectCache.maskprivate static final intInt2IntCounterMap.MIN_CAPACITY(package private) static final intInt2IntHashMap.MIN_CAPACITY(package private) static final intInt2ObjectHashMap.MIN_CAPACITYstatic final intIntArrayQueue.MIN_CAPACITYMinimum capacity for the queue which must also be a power of 2.private static final intLong2LongCounterMap.MIN_CAPACITY(package private) static final intLong2LongHashMap.MIN_CAPACITY(package private) static final intLong2ObjectHashMap.MIN_CAPACITYstatic final intLongArrayQueue.MIN_CAPACITYMinimum capacity for the queue which must also be a power of 2.private static final intObject2IntCounterMap.MIN_CAPACITY(package private) static final intObject2IntHashMap.MIN_CAPACITYprivate static final intObject2LongCounterMap.MIN_CAPACITY(package private) static final intObject2LongHashMap.MIN_CAPACITYprivate intInt2ObjectHashMap.AbstractIterator.posCounterprivate intLong2ObjectHashMap.AbstractIterator.posCounterprivate intObject2IntHashMap.AbstractIterator.posCounterprivate intObject2LongHashMap.AbstractIterator.posCounterprivate intInt2ObjectCache.AbstractIterator.positionprivate intLong2ObjectCache.AbstractIterator.positionprivate intInt2IntHashMap.AbstractIterator.positionCounterprivate intIntHashSet.IntIterator.positionCounterprivate intLong2LongHashMap.AbstractIterator.positionCounterprivate intLongHashSet.LongIterator.positionCounterprivate intInt2IntHashMap.AbstractIterator.remainingprivate intInt2ObjectCache.AbstractIterator.remainingprivate intInt2ObjectHashMap.AbstractIterator.remainingprivate intIntHashSet.IntIterator.remainingprivate intLong2LongHashMap.AbstractIterator.remainingprivate intLong2ObjectCache.AbstractIterator.remainingprivate intLong2ObjectHashMap.AbstractIterator.remainingprivate intLongHashSet.LongIterator.remainingprivate intObject2IntHashMap.AbstractIterator.remainingprivate intObject2LongHashMap.AbstractIterator.remainingprivate intInt2IntCounterMap.resizeThresholdprivate intInt2IntHashMap.resizeThresholdprivate intInt2ObjectHashMap.resizeThresholdprivate intIntHashSet.resizeThresholdprivate intLong2LongCounterMap.resizeThresholdprivate intLong2LongHashMap.resizeThresholdprivate intLong2ObjectHashMap.resizeThresholdprivate intLongHashSet.resizeThresholdprivate intObject2IntCounterMap.resizeThresholdprivate intObject2IntHashMap.resizeThresholdprivate intObject2LongCounterMap.resizeThresholdprivate intObject2LongHashMap.resizeThresholdprivate final intInt2ObjectCache.setSizeprivate final intLong2ObjectCache.setSizeprivate final intInt2ObjectCache.setSizeShiftprivate final intLong2ObjectCache.setSizeShiftprivate intInt2IntCounterMap.sizeprivate intInt2IntHashMap.sizeprivate intInt2ObjectCache.sizeprivate intInt2ObjectHashMap.sizeprivate intIntArrayList.sizeprivate intIntLruCache.sizeprivate intLong2LongCounterMap.sizeprivate intLong2LongHashMap.sizeprivate intLong2ObjectCache.sizeprivate intLong2ObjectHashMap.sizeprivate intLongArrayList.sizeprivate intLongLruCache.sizeprivate intObject2IntCounterMap.sizeprivate intObject2IntHashMap.sizeprivate intObject2LongCounterMap.sizeprivate intObject2LongHashMap.sizeprivate intIntHashSet.sizeOfArrayValuesprivate intLongHashSet.sizeOfArrayValuesprivate intInt2IntHashMap.AbstractIterator.stopCounterprivate intInt2ObjectHashMap.AbstractIterator.stopCounterprivate intIntHashSet.IntIterator.stopCounterprivate intLong2LongHashMap.AbstractIterator.stopCounterprivate intLong2ObjectHashMap.AbstractIterator.stopCounterprivate intLongHashSet.LongIterator.stopCounterprivate intObject2IntHashMap.AbstractIterator.stopCounterprivate intObject2LongHashMap.AbstractIterator.stopCounterprivate intIntArrayQueue.tailprivate intLongArrayQueue.tailMethods in org.agrona.collections with annotations of type DoNotSubModifier and TypeMethodDescriptionintInt2IntCounterMap.capacity()Get the total capacity for the map to which the load factor will be a fraction of.intInt2IntHashMap.capacity()Get the total capacity for the map to which the load factor will be a fraction of.intInt2ObjectCache.capacity()Get the total capacity for the map to which the load factor will be a fraction of.intInt2ObjectHashMap.capacity()Get the total capacity for the map to which the load factor will be a fraction of.intIntArrayList.capacity()The current capacity for the collection.intIntArrayQueue.capacity()The current capacity for the collection.intIntHashSet.capacity()Get the total capacity for the set to which the load factor with be a fraction of.intIntLruCache.capacity()Returns cache capacity.intLong2LongCounterMap.capacity()Get the total capacity for the map to which the load factor will be a fraction of.intLong2LongHashMap.capacity()Get the total capacity for the map to which the load factor will be a fraction of.intLong2ObjectCache.capacity()Get the total capacity for the map to which the load factor will be a fraction of.intLong2ObjectHashMap.capacity()Get the total capacity for the map to which the load factor will be a fraction of.intLongArrayList.capacity()The current capacity for the collection.intLongArrayQueue.capacity()The current capacity for the collection.intLongHashSet.capacity()Get the total capacity for the set to which the load factor with be a fraction of.intLongLruCache.capacity()Returns cache capacity.intObject2IntCounterMap.capacity()Get the total capacity for the map to which the load factor will be a fraction of.intObject2IntHashMap.capacity()Get the total capacity for the map to which the load factor will be a fraction of.intObject2LongCounterMap.capacity()Get the total capacity for the map to which the load factor will be a fraction of.intObject2LongHashMap.capacity()Get the total capacity for the map to which the load factor will be a fraction of.(package private) voidIntHashSet.compactChain(int deleteIndex) (package private) voidLongHashSet.compactChain(int deleteIndex) booleanbooleanintInt2IntHashMap.EntryIterator.hashCode()intInt2IntHashMap.EntryIterator.MapEntry.hashCode()intInt2IntHashMap.hashCode()intInt2ObjectCache.hashCode()intInt2ObjectHashMap.EntryIterator.MapEntry.hashCode()intInt2ObjectHashMap.hashCode()intIntArrayList.hashCode()intIntHashSet.hashCode()intLong2LongHashMap.EntryIterator.hashCode()intLong2LongHashMap.EntryIterator.MapEntry.hashCode()intLong2LongHashMap.hashCode()intLong2ObjectCache.hashCode()intLong2ObjectHashMap.EntryIterator.MapEntry.hashCode()intLong2ObjectHashMap.hashCode()intLongArrayList.hashCode()intLongHashSet.hashCode()intObject2IntHashMap.EntryIterator.hashCode()intObject2IntHashMap.EntryIterator.MapEntry.hashCode()intObject2IntHashMap.hashCode()intObject2LongHashMap.EntryIterator.hashCode()intObject2LongHashMap.EntryIterator.MapEntry.hashCode()intObject2LongHashMap.hashCode()intIntArrayList.indexOf(int value) Index of the first element with this value.intLongArrayList.indexOf(long value) Index of the first element with this value.protected final intInt2IntHashMap.AbstractIterator.keyPosition()Returns position of the key of the current entry.protected final intLong2LongHashMap.AbstractIterator.keyPosition()Returns position of the key of the current entry.intIntArrayList.lastIndexOf(int value) Index of the last element with this value.intLongArrayList.lastIndexOf(long value) Index of the last element with this value.private static intInt2IntCounterMap.next(int index, int mask) private static intInt2IntHashMap.next(int index, int mask) private static intIntHashSet.next(int index, int mask) private static intLong2LongCounterMap.next(int index, int mask) private static intLong2LongHashMap.next(int index, int mask) private static intLongHashSet.next(int index, int mask) protected final intInt2ObjectCache.AbstractIterator.position()Position of the current element.protected final intInt2ObjectHashMap.AbstractIterator.position()Position of the current element.private intIntHashSet.IntIterator.position(int[] values) protected final intLong2ObjectCache.AbstractIterator.position()Position of the current element.protected final intLong2ObjectHashMap.AbstractIterator.position()Position of the current element.private intLongHashSet.LongIterator.position(long[] values) protected final intObject2IntHashMap.AbstractIterator.position()Position of the current element.protected final intObject2LongHashMap.AbstractIterator.position()Position of the current element.intInt2IntHashMap.AbstractIterator.remaining()Number of remaining elements.intInt2ObjectHashMap.AbstractIterator.remaining()Number of remaining elements.intIntHashSet.IntIterator.remaining()Returns number of remaining (not yet visited) elements.intLong2LongHashMap.AbstractIterator.remaining()Number of remaining elements.intLong2ObjectHashMap.AbstractIterator.remaining()Number of remaining elements.intLongHashSet.LongIterator.remaining()Returns number of remaining (not yet visited) elements.intInt2IntCounterMap.resizeThreshold()Get the actual threshold which when reached the map will resize.intInt2IntHashMap.resizeThreshold()Get the actual threshold which when reached the map will resize.intInt2ObjectHashMap.resizeThreshold()Get the actual threshold which when reached the map will resize.intIntHashSet.resizeThreshold()Get the actual threshold which when reached the map will resize.intLong2LongCounterMap.resizeThreshold()Get the actual threshold which when reached the map will resize.intLong2LongHashMap.resizeThreshold()Get the actual threshold which when reached the map will resize.intLong2ObjectHashMap.resizeThreshold()Get the actual threshold which when reached the map will resize.intLongHashSet.resizeThreshold()Get the actual threshold which when reached the map will resize.intObject2IntCounterMap.resizeThreshold()Get the actual threshold which when reached the map will resize.intObject2IntHashMap.resizeThreshold()Get the actual threshold which when reached the map will resize.intObject2LongCounterMap.resizeThreshold()Get the actual threshold which when reached the map will resize.intObject2LongHashMap.resizeThreshold()Get the actual threshold which when reached the map will resize.private voidInt2ObjectCache.shuffleDown(int setBeginIndex) private voidLong2ObjectCache.shuffleDown(int setBeginIndex) private voidInt2ObjectCache.shuffleUp(int fromIndex, int toIndex) private voidLong2ObjectCache.shuffleUp(int fromIndex, int toIndex) intInt2IntCounterMap.size()The current size of the map which at not atInt2IntCounterMap.initialValue().intInt2IntHashMap.EntrySet.size()intInt2IntHashMap.KeySet.size()intInt2IntHashMap.size()intInt2IntHashMap.ValueCollection.size()intInt2ObjectCache.EntrySet.size()intInt2ObjectCache.KeySet.size()intInt2ObjectCache.size()intInt2ObjectCache.ValueCollection.size()intInt2ObjectHashMap.EntrySet.size()intInt2ObjectHashMap.KeySet.size()intInt2ObjectHashMap.size()intInt2ObjectHashMap.ValueCollection.size()intIntArrayList.size()intIntArrayQueue.size()intIntHashSet.size()intLong2LongCounterMap.size()The current size of the map which at not atLong2LongCounterMap.initialValue().intLong2LongHashMap.EntrySet.size()intLong2LongHashMap.KeySet.size()intLong2LongHashMap.size()intLong2LongHashMap.ValueCollection.size()intLong2ObjectCache.EntrySet.size()intLong2ObjectCache.KeySet.size()intLong2ObjectCache.size()intLong2ObjectCache.ValueCollection.size()intLong2ObjectHashMap.EntrySet.size()intLong2ObjectHashMap.KeySet.size()intLong2ObjectHashMap.size()intLong2ObjectHashMap.ValueCollection.size()intLongArrayList.size()intLongArrayQueue.size()intLongHashSet.size()intObject2IntCounterMap.size()The current size of the map which at not atObject2IntCounterMap.initialValue().intObject2IntHashMap.EntrySet.size()intObject2IntHashMap.KeySet.size()intObject2IntHashMap.size()intObject2IntHashMap.ValueCollection.size()intObject2LongCounterMap.size()The current size of the map which at not atObject2LongCounterMap.initialValue().intObject2LongHashMap.EntrySet.size()intObject2LongHashMap.KeySet.size()intObject2LongHashMap.size()intObject2LongHashMap.ValueCollection.size()Method parameters in org.agrona.collections with annotations of type DoNotSubModifier and TypeMethodDescriptionvoidvoidbooleanIntArrayList.addAll(int index, IntArrayList list) Inserts all the elements from the specified list to this list at the specified position.booleanLongArrayList.addAll(int index, LongArrayList list) Inserts all the elements from the specified list to this list at the specified position.voidIntArrayList.addInt(int index, int element) Add an element without boxing at a given index.voidLongArrayList.addLong(int index, long element) Add an element without boxing at a given index.private voidInt2IntCounterMap.capacity(int newCapacity) private voidInt2IntHashMap.capacity(int newCapacity) private voidLong2LongCounterMap.capacity(int newCapacity) private voidLong2LongHashMap.capacity(int newCapacity) private voidIntArrayList.checkIndex(int index) private voidLongArrayList.checkIndex(int index) private voidIntArrayList.checkIndexForAdd(int index) private voidLongArrayList.checkIndexForAdd(int index) private voidInt2IntCounterMap.compactChain(int deleteKeyIndex) private voidInt2IntHashMap.compactChain(int deleteKeyIndex) private voidInt2ObjectHashMap.compactChain(int deleteIndex) private voidLong2LongCounterMap.compactChain(int deleteKeyIndex) private voidLong2LongHashMap.compactChain(int deleteKeyIndex) private voidLong2ObjectHashMap.compactChain(int deleteIndex) private voidObject2IntCounterMap.compactChain(int deleteIndex) private voidObject2IntHashMap.compactChain(int deleteIndex) private voidObject2LongCounterMap.compactChain(int deleteIndex) private voidObject2LongHashMap.compactChain(int deleteIndex) voidIntArrayList.ensureCapacity(int requiredCapacity) Ensure the backing array has a required capacity.voidLongArrayList.ensureCapacity(int requiredCapacity) Ensure the backing array has a required capacity.private voidIntArrayList.ensureCapacityPrivate(int requiredCapacity) private voidLongArrayList.ensureCapacityPrivate(int requiredCapacity) intIntArrayList.fastUnorderedRemove(int index) Removes element at index, but instead of copying all elements to the left, it replaces the item in the slot with the last item in the list.longLongArrayList.fastUnorderedRemove(int index) Removes element at index, but instead of copying all elements to the left, it replaces the item in the slot with the last item in the list.IntArrayList.get(int index) LongArrayList.get(int index) intIntArrayList.getInt(int index) Get the element at a given index without boxing.longLongArrayList.getLong(int index) Get the element at a given index without boxing.private voidIntLruCache.makeMostRecent(int key, Object value, int fromIndex) private voidLongLruCache.makeMostRecent(long key, Object value, int fromIndex) private voidInt2IntCounterMap.rehash(int newCapacity) private voidInt2IntHashMap.rehash(int newCapacity) private voidInt2ObjectHashMap.rehash(int newCapacity) private voidIntHashSet.rehash(int newCapacity) private voidLong2LongCounterMap.rehash(int newCapacity) private voidLong2LongHashMap.rehash(int newCapacity) private voidLong2ObjectHashMap.rehash(int newCapacity) private voidLongHashSet.rehash(int newCapacity) private voidObject2IntCounterMap.rehash(int newCapacity) private voidObject2IntHashMap.rehash(int newCapacity) private voidObject2LongCounterMap.rehash(int newCapacity) private voidObject2LongHashMap.rehash(int newCapacity) IntArrayList.remove(int index) Remove at a given index.LongArrayList.remove(int index) Remove at a given index.intIntArrayList.removeAt(int index) Remove at a given index.longLongArrayList.removeAt(int index) Remove at a given index.intIntArrayList.setInt(int index, int element) Set an element at a given index without boxing.longLongArrayList.setLong(int index, long element) Set an element at a given index without boxing.voidIntArrayList.wrap(int[] initialElements, int initialSize) Wrap an existing array without copying it.voidLongArrayList.wrap(long[] initialElements, int initialSize) Wrap an existing array without copying it.Constructor parameters in org.agrona.collections with annotations of type DoNotSubModifierConstructorDescriptionInt2IntCounterMap(int initialCapacity, float loadFactor, int initialValue) Construct a new counter map with the initial value for the counter provided.Int2IntCounterMap(int initialCapacity, float loadFactor, int initialValue) Construct a new counter map with the initial value for the counter provided.Int2IntHashMap(int initialCapacity, float loadFactor, int missingValue) Create a map instance that does not allocate iterators with specified parameters.Int2IntHashMap(int initialCapacity, float loadFactor, int missingValue) Create a map instance that does not allocate iterators with specified parameters.Int2IntHashMap(int initialCapacity, float loadFactor, int missingValue, boolean shouldAvoidAllocation) Create a map instance with specified parameters.Int2IntHashMap(int initialCapacity, float loadFactor, int missingValue, boolean shouldAvoidAllocation) Create a map instance with specified parameters.Int2NullableObjectHashMap(int initialCapacity, float loadFactor) Constructs map with given initial capacity and load factory and enables caching of iterators.Int2NullableObjectHashMap(int initialCapacity, float loadFactor, boolean shouldAvoidAllocation) Construct a new map allowing a configuration for initial capacity and load factor.Int2ObjectCache(int numSets, int setSize, Consumer<V> evictionConsumer) Constructs cache with provided configuration.Int2ObjectCache(int numSets, int setSize, Consumer<V> evictionConsumer) Constructs cache with provided configuration.Int2ObjectHashMap(int initialCapacity, float loadFactor) Constructs map with given initial capacity and load factory and enables caching of iterators.Int2ObjectHashMap(int initialCapacity, float loadFactor, boolean shouldAvoidAllocation) Construct a new map allowing a configuration for initial capacity and load factor.IntArrayList(int[] initialElements, int initialSize, int nullValue) Create a new list that wraps an existing arrays without copying it.IntArrayList(int initialCapacity, int nullValue) Construct a new list.IntArrayQueue(int initialCapacity, int nullValue) Construct a new queue default to cached iterators.IntArrayQueue(int initialCapacity, int nullValue, boolean shouldAvoidAllocation) Construct a new queue providing all the config options.IntHashSet(int proposedCapacity) Construct a hash set with a proposed capacity,Hashing.DEFAULT_LOAD_FACTOR, iterator caching support and0as a missing value.IntHashSet(int proposedCapacity, float loadFactor) Construct a hash set with a proposed initial capacity, load factor, iterator caching support and0as a missing value.IntHashSet(int proposedCapacity, float loadFactor, boolean shouldAvoidAllocation) Construct a hash set with a proposed initial capacity, load factor, iterator caching support and-1as a missing value.IntLruCache(int capacity, IntFunction<E> factory, Consumer<E> closer) Constructor.Long2LongCounterMap(int initialCapacity, float loadFactor, long initialValue) Construct a new counter map with the initial value for the counter provided.Long2LongCounterMap(int initialCapacity, float loadFactor, long initialValue) Construct a new counter map with the initial value for the counter provided.Long2LongHashMap(int initialCapacity, float loadFactor, long missingValue) Create a map instance that does not allocate iterators with specified parameters.Long2LongHashMap(int initialCapacity, float loadFactor, long missingValue) Create a map instance that does not allocate iterators with specified parameters.Long2LongHashMap(int initialCapacity, float loadFactor, long missingValue, boolean shouldAvoidAllocation) Create a map instance with specified parameters.Long2LongHashMap(int initialCapacity, float loadFactor, long missingValue, boolean shouldAvoidAllocation) Create a map instance with specified parameters.Long2NullableObjectHashMap(int initialCapacity, float loadFactor) Constructs map with given initial capacity and load factory and enables caching of iterators.Long2NullableObjectHashMap(int initialCapacity, float loadFactor, boolean shouldAvoidAllocation) Construct a new map allowing a configuration for initial capacity and load factor.Long2ObjectCache(int numSets, int setSize, Consumer<V> evictionConsumer) Constructs cache with provided configuration.Long2ObjectCache(int numSets, int setSize, Consumer<V> evictionConsumer) Constructs cache with provided configuration.Long2ObjectHashMap(int initialCapacity, float loadFactor) Constructs map with given initial capacity and load factory and enables caching of iterators.Long2ObjectHashMap(int initialCapacity, float loadFactor, boolean shouldAvoidAllocation) Construct a new map allowing a configuration for initial capacity and load factor.LongArrayList(int initialCapacity, long nullValue) Construct a new list.LongArrayList(long[] initialElements, int initialSize, long nullValue) Create a new list that wraps an existing arrays without copying it.LongArrayQueue(int initialCapacity, long nullValue) Construct a new queue default to cached iterators.LongArrayQueue(int initialCapacity, long nullValue, boolean shouldAvoidAllocation) Construct a new queue providing all the config options.LongHashSet(int proposedCapacity) Construct a hash set with a proposed capacity,Hashing.DEFAULT_LOAD_FACTOR, iterator caching support and0as a missing value.LongHashSet(int proposedCapacity, float loadFactor) Construct a hash set with a proposed initial capacity, load factor, iterator caching support and0as a missing value.LongHashSet(int proposedCapacity, float loadFactor, boolean shouldAvoidAllocation) Construct a hash set with a proposed initial capacity, load factor, iterator caching support and-1as a missing value.LongLruCache(int capacity, LongFunction<E> factory, Consumer<E> closer) Constructor.Object2IntCounterMap(int initialCapacity, float loadFactor, int initialValue) Construct a new counter map with the initial value for the counter provided.Object2IntCounterMap(int initialCapacity, float loadFactor, int initialValue) Construct a new counter map with the initial value for the counter provided.Object2IntHashMap(int initialCapacity, float loadFactor, int missingValue) Construct a new map allowing a configuration for initial capacity and load factor.Object2IntHashMap(int initialCapacity, float loadFactor, int missingValue, boolean shouldAvoidAllocation) Construct a new map allowing a configuration for initial capacity and load factor.Object2LongCounterMap(int initialCapacity, float loadFactor, long initialValue) Construct a new counter map with the initial value for the counter provided.Object2LongCounterMap(int initialCapacity, float loadFactor, long initialValue) Construct a new counter map with the initial value for the counter provided.Object2LongHashMap(int initialCapacity, float loadFactor, long missingValue) Construct a new map allowing a configuration for initial capacity and load factor.Object2LongHashMap(int initialCapacity, float loadFactor, long missingValue, boolean shouldAvoidAllocation) Construct a new map allowing a configuration for initial capacity and load factor.