Codota Logo
TLongObjectHashMap.postInsertHook
Code IndexAdd Codota to your IDE (free)

How to use
postInsertHook
method
in
gnu.trove.map.hash.TLongObjectHashMap

Best Java code snippets using gnu.trove.map.hash.TLongObjectHashMap.postInsertHook (Showing top 5 results out of 315)

  • Common ways to obtain TLongObjectHashMap
private void myMethod () {
TLongObjectHashMap t =
  • Codota Iconnew TLongObjectHashMap<>()
  • Smart code suggestions by Codota
}
origin: alibaba/mdrill

@SuppressWarnings({"unchecked"})
private V doPut( V value, int index ) {
  V previous = null;
  boolean isNewMapping = true;
  if ( index < 0 ) {
    index = -index -1;
    previous = _values[index];
    isNewMapping = false;
  }
  _values[index] = value;
  if (isNewMapping) {
    postInsertHook( consumeFreeSlot );
  }
  return previous;
}
origin: net.sf.trove4j/trove4j

@SuppressWarnings({"unchecked"})
private V doPut( V value, int index ) {
  V previous = null;
  boolean isNewMapping = true;
  if ( index < 0 ) {
    index = -index -1;
    previous = _values[index];
    isNewMapping = false;
  }
  _values[index] = value;
  if (isNewMapping) {
    postInsertHook( consumeFreeSlot );
  }
  return previous;
}
origin: com.palantir.patches.sourceforge/trove3

private V doPut( V value, int index ) {
  V previous = null;
  boolean isNewMapping = true;
  if ( index < 0 ) {
    index = -index -1;
    previous = _values[index];
    isNewMapping = false;
  }
  _values[index] = value;
  if (isNewMapping) {
    postInsertHook( consumeFreeSlot );
  }
  return previous;
}
origin: net.sf.trove4j/core

@SuppressWarnings({"unchecked"})
private V doPut( V value, int index ) {
  V previous = null;
  boolean isNewMapping = true;
  if ( index < 0 ) {
    index = -index -1;
    previous = _values[index];
    isNewMapping = false;
  }
  _values[index] = value;
  if (isNewMapping) {
    postInsertHook( consumeFreeSlot );
  }
  return previous;
}
origin: hernad/easyrec

@SuppressWarnings({"unchecked"})
private V doPut( long key, V value, int index ) {
  byte previousState;
  V previous = null;
  boolean isNewMapping = true;
  if ( index < 0 ) {
    index = -index -1;
    previous = _values[index];
    isNewMapping = false;
  }
  previousState = _states[index];
  _set[index] = key;
  _states[index] = FULL;
  _values[index] = value;
  if (isNewMapping) {
    postInsertHook( previousState == FREE );
  }
  return previous;
}
gnu.trove.map.hashTLongObjectHashMappostInsertHook

Popular methods of TLongObjectHashMap

  • <init>
    Creates a new TLongObjectHashMap that contains the entries in the map passed to it.
  • put
  • get
  • size
  • contains
  • iterator
  • remove
  • containsKey
  • forEachEntry
  • putAll
  • valueCollection
  • clear
  • valueCollection,
  • clear,
  • doPut,
  • forEach,
  • index,
  • reenableAutoCompaction,
  • removeAt,
  • setUp,
  • tempDisableAutoCompaction

Popular in Java

  • Reading from database using SQL prepared statement
  • getContentResolver (Context)
  • startActivity (Activity)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • BufferedReader (java.io)
    Reads text from a character-input stream, buffering characters so as to provide for the efficient re
  • FileInputStream (java.io)
    A FileInputStream obtains input bytes from a file in a file system. What files are available depends
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • Pattern (java.util.regex)
    A compiled representation of a regular expression. A regular expression, specified as a string, must
  • JTable (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now