Home
last modified time | relevance | path

Searched refs:snapshot (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/
DCopyOnWriteArrayList.java129 Object[] snapshot = elements; in containsAll() local
130 return containsAll(collection, snapshot, 0, snapshot.length); in containsAll()
133 static boolean containsAll(Collection<?> collection, Object[] snapshot, int from, int to) { in containsAll() argument
135 if (indexOf(o, snapshot, from, to) == -1) { in containsAll()
149 Object[] snapshot = elements; in indexOf() local
150 return indexOf(object, snapshot, from, snapshot.length); in indexOf()
154 Object[] snapshot = elements; in indexOf() local
155 return indexOf(object, snapshot, 0, snapshot.length); in indexOf()
165 Object[] snapshot = elements; in lastIndexOf() local
166 return lastIndexOf(object, snapshot, 0, to); in lastIndexOf()
[all …]
DCopyOnWriteArraySet.java261 private static int compareSets(Object[] snapshot, Set<?> set) { in compareSets() argument
268 final int len = snapshot.length; in compareSets()
276 if (!matched[i] && Objects.equals(x, snapshot[i])) { in compareSets()
/libcore/ojluni/src/main/java/sun/net/
DProgressMonitor.java67 ArrayList<ProgressSource> snapshot = new ArrayList<ProgressSource>(); in getProgressSources() local
75 snapshot.add((ProgressSource)pi.clone()); in getProgressSources()
83 return snapshot; in getProgressSources()
/libcore/luni/src/main/java/libcore/util/
DBasicLruCache.java125 public synchronized final Map<K, V> snapshot() { in snapshot() method in BasicLruCache
/libcore/luni/src/test/java/libcore/util/
DBasicLruCacheTest.java138 for (Map.Entry<T, T> entry : cache.snapshot().entrySet()) {