Tabnine Logo
IntSet.containsKeyStash
Code IndexAdd Tabnine to your IDE (free)

How to use
containsKeyStash
method
in
com.badlogic.gdx.utils.IntSet

Best Java code snippets using com.badlogic.gdx.utils.IntSet.containsKeyStash (Showing top 3 results out of 315)

origin: libgdx/libgdx

public boolean contains (int key) {
  if (key == 0) return hasZeroValue;
  int index = key & mask;
  if (keyTable[index] != key) {
    index = hash2(key);
    if (keyTable[index] != key) {
      index = hash3(key);
      if (keyTable[index] != key) return containsKeyStash(key);
    }
  }
  return true;
}
origin: libgdx/libgdx

public boolean contains (int key) {
  if (key == 0) return hasZeroValue;
  int index = key & mask;
  if (keyTable[index] != key) {
    index = hash2(key);
    if (keyTable[index] != key) {
      index = hash3(key);
      if (keyTable[index] != key) return containsKeyStash(key);
    }
  }
  return true;
}
origin: com.badlogicgames.gdx/gdx

public boolean contains (int key) {
  if (key == 0) return hasZeroValue;
  int index = key & mask;
  if (keyTable[index] != key) {
    index = hash2(key);
    if (keyTable[index] != key) {
      index = hash3(key);
      if (keyTable[index] != key) return containsKeyStash(key);
    }
  }
  return true;
}
com.badlogic.gdx.utilsIntSetcontainsKeyStash

Popular methods of IntSet

  • add
    Returns true if the key was not already in the set.
  • contains
  • iterator
    Returns an iterator for the keys in the set. Remove is supported. Note that the same iterator instan
  • remove
    Returns true if the key was removed.
  • <init>
    Creates a new set identical to the specified set.
  • addAll
  • addResize
    Skips checks for existing keys.
  • addStash
  • clear
    Clears the set and reduces the size of the backing arrays to be the specified capacity if they are l
  • ensureCapacity
    Increases the size of the backing array to accommodate the specified number of additional items. Use
  • hash2
  • hash3
  • hash2,
  • hash3,
  • push,
  • removeStash,
  • removeStashIndex,
  • resize

Popular in Java

  • Creating JSON documents from java classes using gson
  • getSystemService (Context)
  • getContentResolver (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • JButton (javax.swing)
  • Best IntelliJ 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