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 DoNotSub
    Modifier and Type
    Field
    Description
    static final int
    The initial capacity used when none is specified in the constructor.
    static final int
    The initial capacity used when none is specified in the constructor.
    static final int
    IntArrayList.INITIAL_CAPACITY
    Initial capacity to which the array will be sized.
    static final int
    LongArrayList.INITIAL_CAPACITY
    Initial capacity to which the array will be sized.
    static final int
    IntArrayQueue.MIN_CAPACITY
    Minimum capacity for the queue which must also be a power of 2.
    static final int
    LongArrayQueue.MIN_CAPACITY
    Minimum capacity for the queue which must also be a power of 2.
    Methods in org.agrona.collections with annotations of type DoNotSub
    Modifier and Type
    Method
    Description
    int
    Int2IntCounterMap.capacity()
    Get the total capacity for the map to which the load factor will be a fraction of.
    int
    Int2IntHashMap.capacity()
    Get the total capacity for the map to which the load factor will be a fraction of.
    int
    Int2ObjectCache.capacity()
    Get the total capacity for the map to which the load factor will be a fraction of.
    int
    Int2ObjectHashMap.capacity()
    Get the total capacity for the map to which the load factor will be a fraction of.
    int
    IntArrayList.capacity()
    The current capacity for the collection.
    int
    IntArrayQueue.capacity()
    The current capacity for the collection.
    int
    IntHashSet.capacity()
    Get the total capacity for the set to which the load factor with be a fraction of.
    int
    IntLruCache.capacity()
    Returns cache capacity.
    int
    Long2LongCounterMap.capacity()
    Get the total capacity for the map to which the load factor will be a fraction of.
    int
    Long2LongHashMap.capacity()
    Get the total capacity for the map to which the load factor will be a fraction of.
    int
    Long2ObjectCache.capacity()
    Get the total capacity for the map to which the load factor will be a fraction of.
    int
    Long2ObjectHashMap.capacity()
    Get the total capacity for the map to which the load factor will be a fraction of.
    int
    LongArrayList.capacity()
    The current capacity for the collection.
    int
    LongArrayQueue.capacity()
    The current capacity for the collection.
    int
    LongHashSet.capacity()
    Get the total capacity for the set to which the load factor with be a fraction of.
    int
    LongLruCache.capacity()
    Returns cache capacity.
    int
    Object2IntCounterMap.capacity()
    Get the total capacity for the map to which the load factor will be a fraction of.
    int
    Object2IntHashMap.capacity()
    Get the total capacity for the map to which the load factor will be a fraction of.
    int
    Object2LongCounterMap.capacity()
    Get the total capacity for the map to which the load factor will be a fraction of.
    int
    Object2LongHashMap.capacity()
    Get the total capacity for the map to which the load factor will be a fraction of.
    boolean
    Int2IntHashMap.EntryIterator.MapEntry.equals(Object o)
    boolean
    Long2LongHashMap.EntryIterator.MapEntry.equals(Object o)
    int
    Int2IntHashMap.EntryIterator.hashCode()
    int
    Int2IntHashMap.EntryIterator.MapEntry.hashCode()
    int
    Int2IntHashMap.hashCode()
    int
    Int2ObjectCache.hashCode()
    int
    Int2ObjectHashMap.EntryIterator.MapEntry.hashCode()
    int
    Int2ObjectHashMap.hashCode()
    int
    IntArrayList.hashCode()
    int
    IntHashSet.hashCode()
    int
    Long2LongHashMap.EntryIterator.hashCode()
    int
    Long2LongHashMap.EntryIterator.MapEntry.hashCode()
    int
    Long2LongHashMap.hashCode()
    int
    Long2ObjectCache.hashCode()
    int
    Long2ObjectHashMap.EntryIterator.MapEntry.hashCode()
    int
    Long2ObjectHashMap.hashCode()
    int
    LongArrayList.hashCode()
    int
    LongHashSet.hashCode()
    int
    Object2IntHashMap.EntryIterator.hashCode()
    int
    Object2IntHashMap.EntryIterator.MapEntry.hashCode()
    int
    Object2IntHashMap.hashCode()
    int
    Object2LongHashMap.EntryIterator.hashCode()
    int
    Object2LongHashMap.EntryIterator.MapEntry.hashCode()
    int
    Object2LongHashMap.hashCode()
    int
    IntArrayList.indexOf(int value)
    Index of the first element with this value.
    int
    LongArrayList.indexOf(long value)
    Index of the first element with this value.
    int
    IntArrayList.lastIndexOf(int value)
    Index of the last element with this value.
    int
    LongArrayList.lastIndexOf(long value)
    Index of the last element with this value.
    int
    IntHashSet.IntIterator.remaining()
    Returns number of remaining (not yet visited) elements.
    int
    LongHashSet.LongIterator.remaining()
    Returns number of remaining (not yet visited) elements.
    int
    Int2IntCounterMap.resizeThreshold()
    Get the actual threshold which when reached the map will resize.
    int
    Int2IntHashMap.resizeThreshold()
    Get the actual threshold which when reached the map will resize.
    int
    Int2ObjectHashMap.resizeThreshold()
    Get the actual threshold which when reached the map will resize.
    int
    IntHashSet.resizeThreshold()
    Get the actual threshold which when reached the map will resize.
    int
    Long2LongCounterMap.resizeThreshold()
    Get the actual threshold which when reached the map will resize.
    int
    Long2LongHashMap.resizeThreshold()
    Get the actual threshold which when reached the map will resize.
    int
    Long2ObjectHashMap.resizeThreshold()
    Get the actual threshold which when reached the map will resize.
    int
    LongHashSet.resizeThreshold()
    Get the actual threshold which when reached the map will resize.
    int
    Object2IntCounterMap.resizeThreshold()
    Get the actual threshold which when reached the map will resize.
    int
    Object2IntHashMap.resizeThreshold()
    Get the actual threshold which when reached the map will resize.
    int
    Object2LongCounterMap.resizeThreshold()
    Get the actual threshold which when reached the map will resize.
    int
    Object2LongHashMap.resizeThreshold()
    Get the actual threshold which when reached the map will resize.
    int
    Int2IntCounterMap.size()
    The current size of the map which at not at Int2IntCounterMap.initialValue().
    int
    Int2IntHashMap.EntrySet.size()
    int
    Int2IntHashMap.KeySet.size()
    int
    Int2IntHashMap.size()
    int
    Int2IntHashMap.ValueCollection.size()
    int
    Int2ObjectCache.EntrySet.size()
    int
    Int2ObjectCache.KeySet.size()
    int
    Int2ObjectCache.size()
    int
    Int2ObjectCache.ValueCollection.size()
    int
    Int2ObjectHashMap.EntrySet.size()
    int
    Int2ObjectHashMap.KeySet.size()
    int
    Int2ObjectHashMap.size()
    int
    Int2ObjectHashMap.ValueCollection.size()
    int
    IntArrayList.size()
    int
    IntArrayQueue.size()
    int
    IntHashSet.size()
    int
    Long2LongCounterMap.size()
    The current size of the map which at not at Long2LongCounterMap.initialValue().
    int
    Long2LongHashMap.EntrySet.size()
    int
    Long2LongHashMap.KeySet.size()
    int
    Long2LongHashMap.size()
    int
    Long2LongHashMap.ValueCollection.size()
    int
    Long2ObjectCache.EntrySet.size()
    int
    Long2ObjectCache.KeySet.size()
    int
    Long2ObjectCache.size()
    int
    Long2ObjectCache.ValueCollection.size()
    int
    Long2ObjectHashMap.EntrySet.size()
    int
    Long2ObjectHashMap.KeySet.size()
    int
    Long2ObjectHashMap.size()
    int
    Long2ObjectHashMap.ValueCollection.size()
    int
    LongArrayList.size()
    int
    LongArrayQueue.size()
    int
    LongHashSet.size()
    int
    Object2IntCounterMap.size()
    The current size of the map which at not at Object2IntCounterMap.initialValue().
    int
    Object2IntHashMap.EntrySet.size()
    int
    Object2IntHashMap.KeySet.size()
    int
    Object2IntHashMap.size()
    int
    Object2IntHashMap.ValueCollection.size()
    int
    Object2LongCounterMap.size()
    The current size of the map which at not at Object2LongCounterMap.initialValue().
    int
    Object2LongHashMap.EntrySet.size()
    int
    Object2LongHashMap.KeySet.size()
    int
    Object2LongHashMap.size()
    int
    Object2LongHashMap.ValueCollection.size()
    Method parameters in org.agrona.collections with annotations of type DoNotSub
    Modifier and Type
    Method
    Description
    void
    IntArrayList.add(int index, Integer element)
    void
    LongArrayList.add(int index, Long element)
    boolean
    IntArrayList.addAll(int index, IntArrayList list)
    Inserts all the elements from the specified list to this list at the specified position.
    boolean
    LongArrayList.addAll(int index, LongArrayList list)
    Inserts all the elements from the specified list to this list at the specified position.
    void
    IntArrayList.addInt(int index, int element)
    Add an element without boxing at a given index.
    void
    LongArrayList.addLong(int index, long element)
    Add an element without boxing at a given index.
    void
    IntArrayList.ensureCapacity(int requiredCapacity)
    Ensure the backing array has a required capacity.
    void
    LongArrayList.ensureCapacity(int requiredCapacity)
    Ensure the backing array has a required capacity.
    int
    IntArrayList.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.
    long
    LongArrayList.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)
    int
    IntArrayList.getInt(int index)
    Get the element at a given index without boxing.
    long
    LongArrayList.getLong(int index)
    Get the element at a given index without boxing.
    IntArrayList.remove(int index)
    Remove at a given index.
    LongArrayList.remove(int index)
    Remove at a given index.
    int
    IntArrayList.removeAt(int index)
    Remove at a given index.
    long
    LongArrayList.removeAt(int index)
    Remove at a given index.
    IntArrayList.set(int index, Integer element)
    LongArrayList.set(int index, Long element)
    int
    IntArrayList.setInt(int index, int element)
    Set an element at a given index without boxing.
    long
    LongArrayList.setLong(int index, long element)
    Set an element at a given index without boxing.
    void
    IntArrayList.wrap(int[] initialElements, int initialSize)
    Wrap an existing array without copying it.
    void
    LongArrayList.wrap(long[] initialElements, int initialSize)
    Wrap an existing array without copying it.
    Constructor parameters in org.agrona.collections with annotations of type DoNotSub
    Modifier
    Constructor
    Description
     
    Int2IntCounterMap(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 and 0 as a missing value.
     
    IntHashSet(int proposedCapacity, float loadFactor)
    Construct a hash set with a proposed initial capacity, load factor, iterator caching support and 0 as 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 -1 as 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 and 0 as a missing value.
     
    LongHashSet(int proposedCapacity, float loadFactor)
    Construct a hash set with a proposed initial capacity, load factor, iterator caching support and 0 as 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 -1 as 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.