- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for CHANGES (0.29 sec)
-
guava-tests/test/com/google/common/collect/IteratorsTest.java
List<Integer> list = asList(1, 2); Iterator<List<Integer>> partitions = Iterators.partition(list.iterator(), 1); // Changes before the partition is retrieved are reflected list.set(0, 3); List<Integer> first = partitions.next(); // Changes after are not list.set(0, 4); assertEquals(ImmutableList.of(3), first); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 55.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimaps.java
Map<K, Collection<V>> asMap(Multimap<K, V> multimap) { return multimap.asMap(); } /** * Returns a multimap view of the specified map. The multimap is backed by the map, so changes to * the map are reflected in the multimap, and vice versa. If the map is modified while an * iteration over one of the multimap's collection views is in progress (except through the
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/src/com/google/common/collect/Sets.java
} }; } /** * Returns the elements of {@code unfiltered} that satisfy a predicate. The returned set is a live * view of {@code unfiltered}; changes to one affect the other. * * <p>The resulting set's iterator does not support {@code remove()}, but all other set methods * are supported. When given an element that doesn't satisfy the predicate, the set's {@code
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-tests/test/com/google/common/collect/IteratorsTest.java
List<Integer> list = asList(1, 2); Iterator<List<Integer>> partitions = Iterators.partition(list.iterator(), 1); // Changes before the partition is retrieved are reflected list.set(0, 3); List<Integer> first = partitions.next(); // Changes after are not list.set(0, 4); assertEquals(ImmutableList.of(3), first); }
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/MapMakerInternalMap.java
* be read without locking. Next fields of nodes are immutable (final). All list additions are * performed at the front of each bin. This makes it easy to check changes, and also fast to * traverse. When nodes would otherwise be changed, new nodes are created to replace them. This * works well for hash tables since the bin lists tend to be short. (The average length is less
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 91.9K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/MavenProject.java
* that it can be marshalled and unmarshalled without being tainted by runtime requirements. * </p> * <p> * With changes during 3.2.2 release MavenProject is closer to being immutable after construction with the removal of * all components from this class, and the upfront construction taken care of entirely by the {@link ProjectBuilder}.
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 56.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Iterators.java
iterator.next(); iterator.remove(); } } /** * Returns an iterator containing the elements of {@code array} in order. The returned iterator is * a view of the array; subsequent changes to the array will be reflected in the iterator. * * <p><b>Note:</b> It is often preferable to represent your data using a collection type, for
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jan 30 00:14:39 GMT 2024 - 50.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterators.java
iterator.next(); iterator.remove(); } } /** * Returns an iterator containing the elements of {@code array} in order. The returned iterator is * a view of the array; subsequent changes to the array will be reflected in the iterator. * * <p><b>Note:</b> It is often preferable to represent your data using a collection type, for
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) -
guava/src/com/google/common/cache/CacheBuilder.java
* deep support for asynchronous operations</a>. But if you want to migrate to Caffeine with minimal * code changes, you can use <a * href="https://www.javadoc.io/doc/com.github.ben-manes.caffeine/guava/latest/com.github.benmanes.caffeine.guava/com/github/benmanes/caffeine/guava/CaffeinatedGuava.html">its
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 51.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
*/ @Override /* * We should annotate the superclass, InternalFutureFailureAccess, to say that its copy of this * method returns @Nullable, too. However, we're not sure if we want to make any changes to that * class, since it's in a separate artifact that we planned to release only a single version of. */ @CheckForNull protected final Throwable tryInternalFastPathGetFailure() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 22 21:17:24 GMT 2024 - 63K bytes - Viewed (0)