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

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

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

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

private void ensureCapacity() {
  if (size >= threshold) {
    resize(threshold * 2);
  }
}
origin: org.apache.logging.log4j/log4j-api

public SortedArrayStringMap(final Map<String, ?> map) {
  resize(ceilingNextPowerOfTwo(map.size()));
  for (final Map.Entry<String, ?> entry : map.entrySet()) {
    putValue(entry.getKey(), entry.getValue());
  }
}
origin: org.apache.logging.log4j/log4j-api

public SortedArrayStringMap(final ReadOnlyStringMap other) {
  if (other instanceof SortedArrayStringMap) {
    initFrom0((SortedArrayStringMap) other);
  } else if (other != null) {
    resize(ceilingNextPowerOfTwo(other.size()));
    other.forEach(PUT_ALL, this);
  }
}
origin: ops4j/org.ops4j.pax.logging

private void ensureCapacity() {
  if (size >= threshold) {
    resize(threshold * 2);
  }
}
origin: ops4j/org.ops4j.pax.logging

public SortedArrayStringMap(final Map<String, ?> map) {
  resize(ceilingNextPowerOfTwo(map.size()));
  for (final Map.Entry<String, ?> entry : map.entrySet()) {
    putValue(entry.getKey(), entry.getValue());
  }
}
origin: ops4j/org.ops4j.pax.logging

public SortedArrayStringMap(final ReadOnlyStringMap other) {
  if (other instanceof SortedArrayStringMap) {
    initFrom0((SortedArrayStringMap) other);
  } else if (other != null) {
    resize(ceilingNextPowerOfTwo(other.size()));
    other.forEach(PUT_ALL, this);
  }
}
org.apache.logging.log4j.utilSortedArrayStringMapresize

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
  • ensureCapacity
  • handleSerializationException
  • hashCode
  • handleSerializationException,
  • hashCode,
  • inflateTable,
  • initFrom0,
  • insertAt,
  • marshall,
  • merge,
  • nullKeyIndex,
  • putAll

Popular in Java

  • Making http post requests using okhttp
  • onCreateOptionsMenu (Activity)
  • setScale (BigDecimal)
  • compareTo (BigDecimal)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • BoxLayout (javax.swing)
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Top 12 Jupyter Notebook extensions
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