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

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

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

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

@Override
public void putAll(final ReadOnlyStringMap source) {
  if (source == this || source == null || source.isEmpty()) {
    // this.putAll(this) does not modify this collection
    // this.putAll(null) does not modify this collection
    // this.putAll(empty ReadOnlyStringMap) does not modify this collection
    return;
  }
  assertNotFrozen();
  assertNoConcurrentModification();
  if (source instanceof SortedArrayStringMap) {
    if (this.size == 0) {
      initFrom0((SortedArrayStringMap) source);
    } else {
      merge((SortedArrayStringMap) source);
    }
  } else if (source != null) {
    source.forEach(PUT_ALL, this);
  }
}
origin: ops4j/org.ops4j.pax.logging

@Override
public void putAll(final ReadOnlyStringMap source) {
  if (source == this || source == null || source.isEmpty()) {
    // this.putAll(this) does not modify this collection
    // this.putAll(null) does not modify this collection
    // this.putAll(empty ReadOnlyStringMap) does not modify this collection
    return;
  }
  assertNotFrozen();
  assertNoConcurrentModification();
  if (source instanceof SortedArrayStringMap) {
    if (this.size == 0) {
      initFrom0((SortedArrayStringMap) source);
    } else {
      merge((SortedArrayStringMap) source);
    }
  } else if (source != null) {
    source.forEach(PUT_ALL, this);
  }
}
org.apache.logging.log4j.utilSortedArrayStringMapmerge

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,
  • nullKeyIndex,
  • putAll,
  • resize

Popular in Java

  • Finding current android device location
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • findViewById (Activity)
  • onRequestPermissionsResult (Fragment)
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Option (scala)
  • Top Sublime Text plugins
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