Tabnine Logo
LongSparseArray.valueAt
Code IndexAdd Tabnine to your IDE (free)

How to use
valueAt
method
in
androidx.collection.LongSparseArray

Best Java code snippets using androidx.collection.LongSparseArray.valueAt (Showing top 5 results out of 315)

origin: airbnb/epoxy

@Override
public EpoxyViewHolder next() {
 if (!hasNext()) {
  throw new NoSuchElementException();
 }
 return holders.valueAt(position++);
}
origin: airbnb/epoxy

EpoxyModel<?> thisModel = modelsById.valueAt(i);
EpoxyModel<?> thatModel = that.modelsById.valueAt(i);
if (thisModel != thatModel) {
 return false;
origin: cbeyls/fosdem-companion-android

@Override
public void writeToParcel(Parcel out, int flags) {
  out.writeInt(checkedItemCount);
  out.writeSparseBooleanArray(checkStates);
  final int n = checkedIdStates != null ? checkedIdStates.size() : -1;
  out.writeInt(n);
  for (int i = 0; i < n; i++) {
    out.writeLong(checkedIdStates.keyAt(i));
    out.writeInt(checkedIdStates.valueAt(i));
  }
}
origin: codeka/wwmmo

 @Override
 public void run() {
  synchronized (scene.lock) {
   for (int i = 0; i < sceneObjects.size(); i++) {
    SceneObjectInfo sceneObjectInfo = (SceneObjectInfo) sceneObjects.valueAt(i).getTag();
    if (sceneObjectInfo != null && sceneObjectInfo.fleet != null) {
     updateMovingFleet(sceneObjects.valueAt(i));
    }
   }
  }
  App.i.getTaskRunner().runTask(
    updateMovingFleetsRunnable,
    Threads.UI,
    UPDATE_MOVING_FLEETS_TIME_MS);
 }
};
origin: cbeyls/fosdem-companion-android

final int lastPos = checkedIdStates.valueAt(checkedIndex);
androidx.collectionLongSparseArrayvalueAt

Popular methods of LongSparseArray

  • put
  • <init>
  • get
  • size
  • keyAt
  • delete
  • remove
  • append
  • clear
  • clone
  • setValueAt
  • setValueAt

Popular in Java

  • Making http post requests using okhttp
  • putExtra (Intent)
  • getApplicationContext (Context)
  • setRequestProperty (URLConnection)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • 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