Tabnine Logo
FastTreeMap.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.apache.commons.collections.FastTreeMap
constructor

Best Java code snippets using org.apache.commons.collections.FastTreeMap.<init> (Showing top 9 results out of 315)

origin: commons-collections/commons-collections

/**
 * Return a shallow copy of this <code>FastTreeMap</code> instance.
 * The keys and values themselves are not copied.
 * 
 * @return a clone of this map
 */
public Object clone() {
  FastTreeMap results = null;
  if (fast) {
    results = new FastTreeMap(map);
  } else {
    synchronized (map) {
      results = new FastTreeMap(map);
    }
  }
  results.setFast(getFast());
  return (results);
}
origin: wildfly/wildfly

/**
 * Return a shallow copy of this <code>FastTreeMap</code> instance.
 * The keys and values themselves are not copied.
 * 
 * @return a clone of this map
 */
public Object clone() {
  FastTreeMap results = null;
  if (fast) {
    results = new FastTreeMap(map);
  } else {
    synchronized (map) {
      results = new FastTreeMap(map);
    }
  }
  results.setFast(getFast());
  return (results);
}
origin: commons-collections/commons-collections

public Map makeEmptyMap() {
  FastTreeMap ftm = new FastTreeMap();
  ftm.setFast(true);
  return (ftm);
}
origin: commons-collections/commons-collections

public Map makeEmptyMap() {
  FastTreeMap ftm = new FastTreeMap();
  ftm.setFast(false);
  return (ftm);
}
origin: org.apache.directory.api/api-ldap-client-all

/**
 * Return a shallow copy of this <code>FastTreeMap</code> instance.
 * The keys and values themselves are not copied.
 * 
 * @return a clone of this map
 */
public Object clone() {
  FastTreeMap results = null;
  if (fast) {
    results = new FastTreeMap(map);
  } else {
    synchronized (map) {
      results = new FastTreeMap(map);
    }
  }
  results.setFast(getFast());
  return (results);
}
origin: com.alibaba.citrus.tool/antx-autoexpand

/**
 * Return a shallow copy of this <code>FastTreeMap</code> instance.
 * The keys and values themselves are not copied.
 * 
 * @return a clone of this map
 */
public Object clone() {
  FastTreeMap results = null;
  if (fast) {
    results = new FastTreeMap(map);
  } else {
    synchronized (map) {
      results = new FastTreeMap(map);
    }
  }
  results.setFast(getFast());
  return (results);
}
origin: org.apache.openjpa/openjpa-all

/**
 * Return a shallow copy of this <code>FastTreeMap</code> instance.
 * The keys and values themselves are not copied.
 * 
 * @return a clone of this map
 */
public Object clone() {
  FastTreeMap results = null;
  if (fast) {
    results = new FastTreeMap(map);
  } else {
    synchronized (map) {
      results = new FastTreeMap(map);
    }
  }
  results.setFast(getFast());
  return (results);
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-collections

/**
 * Return a shallow copy of this <code>FastTreeMap</code> instance.
 * The keys and values themselves are not copied.
 * 
 * @return a clone of this map
 */
public Object clone() {
  FastTreeMap results = null;
  if (fast) {
    results = new FastTreeMap(map);
  } else {
    synchronized (map) {
      results = new FastTreeMap(map);
    }
  }
  results.setFast(getFast());
  return (results);
}
origin: org.jboss.eap/wildfly-client-all

/**
 * Return a shallow copy of this <code>FastTreeMap</code> instance.
 * The keys and values themselves are not copied.
 * 
 * @return a clone of this map
 */
public Object clone() {
  FastTreeMap results = null;
  if (fast) {
    results = new FastTreeMap(map);
  } else {
    synchronized (map) {
      results = new FastTreeMap(map);
    }
  }
  results.setFast(getFast());
  return (results);
}
org.apache.commons.collectionsFastTreeMap<init>

Javadoc

Construct a an empty map.

Popular methods of FastTreeMap

  • setFast
    Sets whether this map is operating in fast mode.
  • getFast
    Returns true if this map is operating in fast mode.
  • remove
    Remove any mapping for this key, and return any previously mapped value.
  • put
    Associate the specified value with the specified key in this map. If the map previously contained a

Popular in Java

  • Creating JSON documents from java classes using gson
  • getExternalFilesDir (Context)
  • requestLocationUpdates (LocationManager)
  • runOnUiThread (Activity)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Github Copilot alternatives
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