- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for Must (0.15 sec)
-
android/guava/src/com/google/common/collect/Sets.java
* using a {@code LinkedHashSet} instead, at the cost of increased memory footprint, to get * deterministic iteration behavior. * * <p>This method is just a small convenience, either for {@code newHashSet(}{@link Arrays#asList * asList}{@code (...))}, or for creating an empty set then calling {@link Collections#addAll}.
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 77.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimaps.java
* ... * Collection<V> values = multimap.get(key); // Needn't be in synchronized block * ... * synchronized (multimap) { // Synchronizing on multimap, not values! * Iterator<V> i = values.iterator(); // Must be in synchronized block * while (i.hasNext()) { * foo(i.next()); * } * } * }</pre> * * <p>Failure to follow this advice may result in non-deterministic behavior. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 86.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
protected Iterator<Integer> newTargetIterator() { return Iterators.forArray(1, 2, 3); } }.test(); } /* * TODO(cpovirk): Test forArray with ListIteratorTester (not just IteratorTester), including with * a start position other than 0. */ public void testForEnumerationEmpty() { Enumeration<Integer> enumer = enumerate();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Apr 30 18:43:01 GMT 2024 - 56.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterators.java
* * <p>This method accepts an array with element type {@code @Nullable T}, but callers must pass an * array whose contents are initially non-null. The {@code @Nullable} annotation indicates that * this method will write nulls into the array during iteration. * * <p>This is mainly just to avoid the intermediate ArrayDeque in ConsumingQueueIterator. */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Apr 30 18:43:01 GMT 2024 - 51.1K bytes - Viewed (0)