Tabnine Logo
SortedArrayStringMap.ensureCapacity
Code IndexAdd Tabnine to your IDE (free)

How to use
ensureCapacity
method
in
org.apache.logging.log4j.util.SortedArrayStringMap

Best Java code snippets using org.apache.logging.log4j.util.SortedArrayStringMap.ensureCapacity (Showing top 2 results out of 315)

origin: org.apache.logging.log4j/log4j-api

private void insertAt(final int index, final String key, final Object value) {
  ensureCapacity();
  System.arraycopy(keys, index, keys, index + 1, size - index);
  System.arraycopy(values, index, values, index + 1, size - index);
  keys[index] = key;
  values[index] = value;
  size++;
}
origin: ops4j/org.ops4j.pax.logging

private void insertAt(final int index, final String key, final Object value) {
  ensureCapacity();
  System.arraycopy(keys, index, keys, index + 1, size - index);
  System.arraycopy(values, index, values, index + 1, size - index);
  keys[index] = key;
  values[index] = value;
  size++;
}
org.apache.logging.log4j.utilSortedArrayStringMapensureCapacity

Popular methods of SortedArrayStringMap

  • <init>
  • putValue
  • getKeyAt
  • getValueAt
  • indexOfKey
  • size
  • assertNoConcurrentModification
  • assertNotFrozen
  • ceilingNextPowerOfTwo
    Calculate the next power of 2, greater than or equal to x. From Hacker's Delight, Chapter 3, Harry S
  • handleSerializationException
  • hashCode
  • inflateTable
    Inflates the table.
  • hashCode,
  • inflateTable,
  • initFrom0,
  • insertAt,
  • marshall,
  • merge,
  • nullKeyIndex,
  • putAll,
  • resize

Popular in Java

  • Start an intent from android
  • getSystemService (Context)
  • setContentView (Activity)
  • findViewById (Activity)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now