- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 33 for modification (0.14 sec)
-
guava/src/com/google/common/collect/Multimaps.java
} i++; /* * The cast is safe because of the containsKey check in hasNext(). (That means it's * unsafe under concurrent modification, but all bets are off then, anyway.) */ return uncheckedCastNullableTToT(map.get(key)); } @Override public void remove() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 86.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashSet.java
* elements.length) are all {@code null}. */ @VisibleForTesting @CheckForNull transient @Nullable Object[] elements; /** * Keeps track of metadata like the number of hash table bits and modifications of this data * structure (to make it possible to throw ConcurrentModificationException in the iterator). Note * that we choose not to make this volatile, so we do less of a "best effort" to track such
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 28 18:11:09 UTC 2024 - 24K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SetsTest.java
ensureNotDirectlyModifiable(unmod.subSet(1, 3)); ensureNotDirectlyModifiable(unmod.subSet(1, true, 3, true)); /* UnsupportedOperationException on indirect modifications. */ NavigableSet<Integer> reverse = unmod.descendingSet(); try { reverse.add(4); fail("UnsupportedOperationException expected"); } catch (UnsupportedOperationException expected) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 15:27:58 UTC 2024 - 49.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterables.java
* {@code iterable} contains fewer than {@code numberToSkip} elements, the returned iterable skips * all of its elements. * * <p>Modifications to the underlying {@link Iterable} before a call to {@code iterator()} are * reflected in the returned iterator. That is, the iterator skips the first {@code numberToSkip}
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 24 19:38:27 UTC 2024 - 42.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
* {@code k} to {@code function.apply(k)}. The {@code keySet}, {@code values}, and {@code * entrySet} views of the returned map iterate in the same order as the backing set. * * <p>Modifications to the backing set are read through to the returned map. The returned map * supports removal operations if the backing set does. Removal operations write through to the
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 159.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Maps.java
* {@code k} to {@code function.apply(k)}. The {@code keySet}, {@code values}, and {@code * entrySet} views of the returned map iterate in the same order as the backing set. * * <p>Modifications to the backing set are read through to the returned map. The returned map * supports removal operations if the backing set does. Removal operations write through to the
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 24 19:38:27 UTC 2024 - 165.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ListsTest.java
List<Integer> toList = Lists.reverse(fromList); assertReverseView(fromList, toList); } private static void assertReverseView(List<Integer> fromList, List<Integer> toList) { /* fromList modifications reflected in toList */ fromList.set(0, 5); assertEquals(asList(4, 3, 2, 5), toList); fromList.add(6); assertEquals(asList(6, 4, 3, 2, 5), toList); fromList.add(2, 9);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 17 16:33:44 UTC 2024 - 35.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ListsTest.java
List<Integer> toList = Lists.reverse(fromList); assertReverseView(fromList, toList); } private static void assertReverseView(List<Integer> fromList, List<Integer> toList) { /* fromList modifications reflected in toList */ fromList.set(0, 5); assertEquals(asList(4, 3, 2, 5), toList); fromList.add(6); assertEquals(asList(6, 4, 3, 2, 5), toList); fromList.add(2, 9);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 17 16:33:44 UTC 2024 - 35.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashSet.java
* elements.length) are all {@code null}. */ @VisibleForTesting @CheckForNull transient @Nullable Object[] elements; /** * Keeps track of metadata like the number of hash table bits and modifications of this data * structure (to make it possible to throw ConcurrentModificationException in the iterator). Note * that we choose not to make this volatile, so we do less of a "best effort" to track such
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 28 18:11:09 UTC 2024 - 24.9K bytes - Viewed (0) -
guava/src/com/google/common/cache/LocalCache.java
* evictEntry is called (once the lock is released). */ void processPendingNotifications() { RemovalNotification<K, V> notification; while ((notification = removalNotificationQueue.poll()) != null) { try { removalListener.onRemoval(notification); } catch (Throwable e) { logger.log(Level.WARNING, "Exception thrown by removal listener", e); } } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat May 18 03:24:34 UTC 2024 - 149.2K bytes - Viewed (0)