Tabnine Logo
Object2ShortOpenHashMap.put
Code IndexAdd Tabnine to your IDE (free)

How to use
put
method
in
it.unimi.dsi.fastutil.objects.Object2ShortOpenHashMap

Best Java code snippets using it.unimi.dsi.fastutil.objects.Object2ShortOpenHashMap.put (Showing top 3 results out of 315)

origin: jtablesaw/tablesaw

private void put(short key, String value) {
  keyToValue.put(key, value);
  valueToKey.put(value, key);
}
origin: it.unimi.dsi/fastutil

/**
 * Creates a new hash map using the elements of two parallel arrays.
 *
 * @param k
 *            the array of keys of the new hash map.
 * @param v
 *            the array of corresponding values in the new hash map.
 * @param f
 *            the load factor.
 * @throws IllegalArgumentException
 *             if {@code k} and {@code v} have different lengths.
 */
public Object2ShortOpenHashMap(final K[] k, final short[] v, final float f) {
  this(k.length, f);
  if (k.length != v.length)
    throw new IllegalArgumentException(
        "The key array and the value array have different lengths (" + k.length + " and " + v.length + ")");
  for (int i = 0; i < k.length; i++)
    this.put(k[i], v[i]);
}
/**
origin: tech.tablesaw/tablesaw-core

private void put(short key, String value) {
  keyToValue.put(key, value);
  valueToKey.put(value, key);
}
it.unimi.dsi.fastutil.objectsObject2ShortOpenHashMapput

Javadoc

Popular methods of Object2ShortOpenHashMap

  • <init>
    Creates a new hash map using the elements of two parallel arrays.
  • clear
  • addToValue
  • containsKey
  • containsValue
  • defaultReturnValue
  • ensureCapacity
  • find
  • getShort
  • insert
  • keySet
  • putAll
  • keySet,
  • putAll,
  • realSize,
  • rehash,
  • removeEntry,
  • removeNullEntry,
  • shiftKeys,
  • size,
  • tryCapacity

Popular in Java

  • Running tasks concurrently on multiple threads
  • getSharedPreferences (Context)
  • putExtra (Intent)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • JFileChooser (javax.swing)
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Top PhpStorm 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