- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 111 for modification (0.12 sec)
-
android/guava/src/com/google/common/collect/Ordering.java
return this.<E>reverse().leastOf(iterator, k); } /** * Returns a <b>mutable</b> list containing {@code elements} sorted by this ordering; use this * only when the resulting list may need further modification, or may contain {@code null}. The * input is not modified. The returned list is serializable and has random access. * * <p>Unlike {@link Sets#newTreeSet(Iterable)}, this method does not discard elements that are
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 28 18:11:09 UTC 2024 - 39.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeMultiset.java
* They may be subsequently nulled out by TreeMultiset.clear(). I think that the only place that * we can reference a node whose fields have been cleared is inside the iterator (and presumably * only under concurrent modification). * * To access these fields when you know that they are not null, call the pred() and succ() * methods, which perform null checks before returning the fields. */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 34.6K bytes - Viewed (0) -
guava/src/com/google/common/io/Files.java
public static void touch(File file) throws IOException { checkNotNull(file); if (!file.createNewFile() && !file.setLastModified(System.currentTimeMillis())) { throw new IOException("Unable to update modification time of " + file); } } /** * Creates any necessary but nonexistent parent directories of the specified file. Note that if
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 33.1K bytes - Viewed (0) -
guava/src/com/google/common/cache/RemovalListeners.java
RemovalListener<K, V> listener, Executor executor) { checkNotNull(listener); checkNotNull(executor); return (RemovalNotification<K, V> notification) -> executor.execute(() -> listener.onRemoval(notification)); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Oct 01 16:02:17 UTC 2021 - 1.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RangeMap.java
* call to {@code remove(range)}, {@code get(k)} will return {@code null}. */ void remove(Range<K> range); /** * Returns a view of this range map as an unmodifiable {@code Map<Range<K>, V>}. Modifications to * this range map are guaranteed to read through to the returned {@code Map}. * * <p>The returned {@code Map} iterates over entries in ascending order of the bounds of the * {@code Range} entries. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 6.5K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/RemovalNotification.java
import com.google.common.annotations.GwtCompatible; import java.util.AbstractMap.SimpleImmutableEntry; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * A notification of the removal of a single entry. The key and/or value may be null if they were * already garbage collected. * * <p>Like other {@code Entry} instances associated with {@code CacheBuilder}, this class holds
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 01 20:46:24 UTC 2022 - 2.5K bytes - Viewed (0) -
android/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: Sun Jun 02 13:36:19 UTC 2024 - 86.3K bytes - Viewed (0) -
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) -
guava/src/com/google/common/cache/Cache.java
* all values is returned. * */ CacheStats stats(); /** * Returns a view of the entries stored in this cache as a thread-safe map. Modifications made to * the map directly affect the cache. * * <p>Iterators from the returned map are at least <i>weakly consistent</i>: they are safe for
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Aug 07 02:38:22 UTC 2022 - 7.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/NullCacheTest.java
Object key = new Object(); assertSame(computed, cache.getUnchecked(key)); RemovalNotification<Object, Object> notification = listener.remove(); assertSame(key, notification.getKey()); assertSame(computed, notification.getValue()); assertSame(RemovalCause.SIZE, notification.getCause()); assertTrue(listener.isEmpty()); checkEmpty(cache); } public void testGet_expireAfterWrite() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 4.4K bytes - Viewed (0)