Tabnine Logo
SparseArray.keyAt
Code IndexAdd Tabnine to your IDE (free)

How to use
keyAt
method
in
com.lody.virtual.helper.collection.SparseArray

Best Java code snippets using com.lody.virtual.helper.collection.SparseArray.keyAt (Showing top 9 results out of 315)

origin: android-hacker/VirtualXposed

  buffer.append(", ");
int key = keyAt(i);
buffer.append(key);
buffer.append('=');
origin: android-hacker/VirtualXposed

@Override
public void writePersistenceData(Parcel p) {
  SparseArray<VDeviceInfo> infos = mService.getDeviceInfos();
  int size = infos.size();
  p.writeInt(size);
  for (int i = 0; i < size; i++) {
    int userId = infos.keyAt(i);
    VDeviceInfo info = infos.valueAt(i);
    p.writeInt(userId);
    info.writeToParcel(p, 0);
  }
}
origin: android-hacker/VirtualXposed

@Override
public void writePersistenceData(Parcel p) {
  mGlobalConfig.writeToParcel(p, 0);
  p.writeInt(mLocConfigs.size());
  for (int i = 0; i < mLocConfigs.size(); i++) {
    int userId = mLocConfigs.keyAt(i);
    Map<String, VLocConfig> pkgs = mLocConfigs.valueAt(i);
    p.writeInt(userId);
    p.writeMap(pkgs);
  }
}
origin: darkskygit/VirtualApp

  buffer.append(", ");
int key = keyAt(i);
buffer.append(key);
buffer.append('=');
origin: bzsome/VirtualApp-x326

  buffer.append(", ");
int key = keyAt(i);
buffer.append(key);
buffer.append('=');
origin: bzsome/VirtualApp-x326

@Override
public void writePersistenceData(Parcel p) {
  SparseArray<VDeviceInfo> infos = mService.getDeviceInfos();
  int size = infos.size();
  p.writeInt(size);
  for (int i = 0; i < size; i++) {
    int userId = infos.keyAt(i);
    VDeviceInfo info = infos.valueAt(i);
    p.writeInt(userId);
    info.writeToParcel(p, 0);
  }
}
origin: darkskygit/VirtualApp

@Override
public void writePersistenceData(Parcel p) {
  SparseArray<VDeviceInfo> infos = mService.getDeviceInfos();
  int size = infos.size();
  p.writeInt(size);
  for (int i = 0; i < size; i++) {
    int userId = infos.keyAt(i);
    VDeviceInfo info = infos.valueAt(i);
    p.writeInt(userId);
    info.writeToParcel(p, 0);
  }
}
origin: bzsome/VirtualApp-x326

@Override
public void writePersistenceData(Parcel p) {
  mGlobalConfig.writeToParcel(p, 0);
  p.writeInt(mLocConfigs.size());
  for (int i = 0; i < mLocConfigs.size(); i++) {
    int userId = mLocConfigs.keyAt(i);
    Map<String, VLocConfig> pkgs = mLocConfigs.valueAt(i);
    p.writeInt(userId);
    p.writeMap(pkgs);
  }
}
origin: darkskygit/VirtualApp

@Override
public void writePersistenceData(Parcel p) {
  mGlobalConfig.writeToParcel(p, 0);
  p.writeInt(mLocConfigs.size());
  for (int i = 0; i < mLocConfigs.size(); i++) {
    int userId = mLocConfigs.keyAt(i);
    Map<String, VLocConfig> pkgs = mLocConfigs.valueAt(i);
    p.writeInt(userId);
    p.writeMap(pkgs);
  }
}
com.lody.virtual.helper.collectionSparseArraykeyAt

Javadoc

Given an index in the range 0...size()-1, returns the key from the indexth key-value mapping that this SparseArray stores.

Popular methods of SparseArray

  • <init>
    Creates a new SparseArray containing no mappings that will not require any additional memory allocat
  • clear
    Removes all key-value mappings from this SparseArray.
  • delete
    Removes the mapping from the specified key, if there was any.
  • gc
  • get
    Gets the Object mapped from the specified key, or the specified Object if no such mapping has been m
  • put
    Adds a mapping from the specified key to the specified value, replacing the previous mapping from th
  • remove
    Alias for #delete(int).
  • removeAt
    Removes the mapping at the specified index.
  • removeReturnOld
  • size
    Returns the number of key-value mappings that this SparseArray currently stores.
  • valueAt
    Given an index in the range 0...size()-1, returns the value from the indexth key-value mapping that
  • valueAt

Popular in Java

  • Creating JSON documents from java classes using gson
  • getSystemService (Context)
  • compareTo (BigDecimal)
  • runOnUiThread (Activity)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Join (org.hibernate.mapping)
  • Best plugins for Eclipse
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