refactor(automator): 转换为kotlin

This commit is contained in:
hyb1996
2018-11-26 20:08:26 +08:00
parent 39de832dde
commit 306762a422
134 changed files with 4258 additions and 4845 deletions

View File

@@ -1,5 +1,6 @@
package com.stardust.util;
import android.support.annotation.NonNull;
import android.util.SparseArray;
/**
@@ -8,13 +9,14 @@ import android.util.SparseArray;
public class SparseArrayEntries<E> {
private SparseArray<E> mSparseArray = new SparseArray<>();
private final SparseArray<E> mSparseArray = new SparseArray<>();
public SparseArrayEntries<E> entry(int key, E value) {
mSparseArray.put(key, value);
return this;
}
@NonNull
public SparseArray<E> sparseArray() {
return mSparseArray;
}