Searched refs:sparseArray (Results 1 – 2 of 2) sorted by relevance
40 SparseArray<HashSet<String>> sparseArray = new SparseArray<>(); in union_mergesSets() local41 sparseArray.append(12, Sets.newHashSet("a", "b", "c")); in union_mergesSets()42 sparseArray.append(45, Sets.newHashSet("d", "e")); in union_mergesSets()43 sparseArray.append(46, Sets.newHashSet()); in union_mergesSets()44 sparseArray.append(66, Sets.newHashSet("a", "e", "f")); in union_mergesSets()46 assertThat(SparseArrayUtils.union(sparseArray)).isEqualTo( in union_mergesSets()52 SparseArray<HashSet<String>> sparseArray = new SparseArray<>(); in union_returnsEmptySetForEmptyList() local54 assertThat(SparseArrayUtils.union(sparseArray)).isEqualTo(Sets.newHashSet()); in union_returnsEmptySetForEmptyList()
355 SparseArray<T> sparseArray) { in dumpSparseArray() argument358 int size = sparseArray.size(); in dumpSparseArray()360 int key = sparseArray.keyAt(i); in dumpSparseArray()361 T value = sparseArray.get(key); in dumpSparseArray()