Tabnine Logo
ArraySet.freeArrays
Code IndexAdd Tabnine to your IDE (free)

How to use
freeArrays
method
in
com.lody.virtual.helper.collection.ArraySet

Best Java code snippets using com.lody.virtual.helper.collection.ArraySet.freeArrays (Showing top 12 results out of 315)

origin: android-hacker/VirtualXposed

/**
 * Make the array map empty.  All storage is released.
 */
@Override
public void clear() {
  if (mSize != 0) {
    freeArrays(mHashes, mArray, mSize);
    mHashes = ContainerHelpers.EMPTY_INTS;
    mArray = ContainerHelpers.EMPTY_OBJECTS;
    mSize = 0;
  }
}
origin: android-hacker/VirtualXposed

/**
 * Ensure the array map can hold at least <var>minimumCapacity</var>
 * items.
 */
public void ensureCapacity(int minimumCapacity) {
  if (mHashes.length < minimumCapacity) {
    final int[] ohashes = mHashes;
    final Object[] oarray = mArray;
    allocArrays(minimumCapacity);
    if (mSize > 0) {
      System.arraycopy(ohashes, 0, mHashes, 0, mSize);
      System.arraycopy(oarray, 0, mArray, 0, mSize);
    }
    freeArrays(ohashes, oarray, mSize);
  }
}
origin: android-hacker/VirtualXposed

freeArrays(mHashes, mArray, mSize);
mHashes = ContainerHelpers.EMPTY_INTS;
mArray = ContainerHelpers.EMPTY_OBJECTS;
origin: android-hacker/VirtualXposed

freeArrays(ohashes, oarray, mSize);
origin: darkskygit/VirtualApp

/**
 * Make the array map empty.  All storage is released.
 */
@Override
public void clear() {
  if (mSize != 0) {
    freeArrays(mHashes, mArray, mSize);
    mHashes = ContainerHelpers.EMPTY_INTS;
    mArray = ContainerHelpers.EMPTY_OBJECTS;
    mSize = 0;
  }
}
origin: bzsome/VirtualApp-x326

/**
 * Make the array map empty.  All storage is released.
 */
@Override
public void clear() {
  if (mSize != 0) {
    freeArrays(mHashes, mArray, mSize);
    mHashes = ContainerHelpers.EMPTY_INTS;
    mArray = ContainerHelpers.EMPTY_OBJECTS;
    mSize = 0;
  }
}
origin: darkskygit/VirtualApp

/**
 * Ensure the array map can hold at least <var>minimumCapacity</var>
 * items.
 */
public void ensureCapacity(int minimumCapacity) {
  if (mHashes.length < minimumCapacity) {
    final int[] ohashes = mHashes;
    final Object[] oarray = mArray;
    allocArrays(minimumCapacity);
    if (mSize > 0) {
      System.arraycopy(ohashes, 0, mHashes, 0, mSize);
      System.arraycopy(oarray, 0, mArray, 0, mSize);
    }
    freeArrays(ohashes, oarray, mSize);
  }
}
origin: bzsome/VirtualApp-x326

/**
 * Ensure the array map can hold at least <var>minimumCapacity</var>
 * items.
 */
public void ensureCapacity(int minimumCapacity) {
  if (mHashes.length < minimumCapacity) {
    final int[] ohashes = mHashes;
    final Object[] oarray = mArray;
    allocArrays(minimumCapacity);
    if (mSize > 0) {
      System.arraycopy(ohashes, 0, mHashes, 0, mSize);
      System.arraycopy(oarray, 0, mArray, 0, mSize);
    }
    freeArrays(ohashes, oarray, mSize);
  }
}
origin: bzsome/VirtualApp-x326

freeArrays(mHashes, mArray, mSize);
mHashes = ContainerHelpers.EMPTY_INTS;
mArray = ContainerHelpers.EMPTY_OBJECTS;
origin: darkskygit/VirtualApp

freeArrays(mHashes, mArray, mSize);
mHashes = ContainerHelpers.EMPTY_INTS;
mArray = ContainerHelpers.EMPTY_OBJECTS;
origin: bzsome/VirtualApp-x326

freeArrays(ohashes, oarray, mSize);
origin: darkskygit/VirtualApp

freeArrays(ohashes, oarray, mSize);
com.lody.virtual.helper.collectionArraySetfreeArrays

Popular methods of ArraySet

  • <init>
  • add
    Adds the specified object to this set. The set is not modified if it already contains the object.
  • addAll
    Perform an #add(Object) of all values in collection
  • allocArrays
  • clear
    Make the array map empty. All storage is released.
  • contains
    Check whether a value exists in the set.
  • ensureCapacity
    Ensure the array map can hold at least minimumCapacity items.
  • getCollection
  • indexOf
  • indexOfNull
  • isEmpty
    Return true if the array map contains no items.
  • remove
    Removes the specified object from this set.
  • isEmpty,
  • remove,
  • removeAt,
  • size,
  • valueAt

Popular in Java

  • Reading from database using SQL prepared statement
  • setRequestProperty (URLConnection)
  • onRequestPermissionsResult (Fragment)
  • scheduleAtFixedRate (Timer)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • JComboBox (javax.swing)
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • CodeWhisperer 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