Searched refs:ControlledHash (Results 1 – 2 of 2) sorted by relevance
108 public static class ControlledHash implements Parcelable { class in ArrayMapTest111 ControlledHash(int value) { in ControlledHash() method in ArrayMapTest.ControlledHash120 return mValue == ((ControlledHash)o).mValue; in equals()143 public static final Parcelable.Creator<ControlledHash> CREATOR144 = new Parcelable.Creator<ControlledHash>() {145 public ControlledHash createFromParcel(Parcel in) {146 return new ControlledHash(in.readInt());149 public ControlledHash[] newArray(int size) {150 return new ControlledHash[size];354 HashMap<ControlledHash, Integer> hashMap = new HashMap<>(); in testBasicArrayMap()[all …]
104 public static class ControlledHash { class in ArraySetTest107 ControlledHash(int value) { in ControlledHash() method in ArraySetTest.ControlledHash116 return mValue == ((ControlledHash)o).mValue; in equals()237 HashSet<ControlledHash> hashSet = new HashSet<>(); in testBasicArraySet()238 ArraySet<ControlledHash> arraySet = new ArraySet<>(); in testBasicArraySet()241 ControlledHash key = KEYS[i] < 0 ? null : new ControlledHash(KEYS[i]); in testBasicArraySet()281 arraySet.add(new ControlledHash(50000)); in testBasicArraySet()282 ControlledHash lookup = new ControlledHash(50000); in testBasicArraySet()283 Iterator<ControlledHash> it = arraySet.iterator(); in testBasicArraySet()