- Sort Score
- Result 10 results
- Languages All
Results 21 - 29 of 29 for immutableEntry (1.44 sec)
-
guava/src/com/google/common/collect/Maps.java
*/ @GwtCompatible(serializable = true) public static <K extends @Nullable Object, V extends @Nullable Object> Entry<K, V> immutableEntry( @ParametricNullness K key, @ParametricNullness V value) { return new ImmutableEntry<>(key, value); } /** * Returns an unmodifiable view of the specified set of entries. The {@link Entry#setValue}
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 24 19:38:27 UTC 2024 - 165.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
addAll(set, elements); return set; } public static <E extends @Nullable Object> Set<E> copyToSet(E[] elements) { return copyToSet(Arrays.asList(elements)); } // Would use Maps.immutableEntry public static <K extends @Nullable Object, V extends @Nullable Object> Entry<K, V> mapEntry( K key, V value) { return Collections.singletonMap(key, value).entrySet().iterator().next(); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 17.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ServiceManager.java
Service service = entry.getKey(); Stopwatch stopwatch = entry.getValue(); if (!stopwatch.isRunning() && !(service instanceof NoOpService)) { loadTimes.add(Maps.immutableEntry(service, stopwatch.elapsed(MILLISECONDS))); } } } finally { monitor.leave(); } Collections.sort( loadTimes, Ordering.natural()
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 07 12:41:16 UTC 2024 - 31.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
*/ @GwtCompatible(serializable = true) public static <K extends @Nullable Object, V extends @Nullable Object> Entry<K, V> immutableEntry( @ParametricNullness K key, @ParametricNullness V value) { return new ImmutableEntry<>(key, value); } /** * Returns an unmodifiable view of the specified set of entries. The {@link Entry#setValue}
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/util/concurrent/ServiceManager.java
Service service = entry.getKey(); Stopwatch stopwatch = entry.getValue(); if (!stopwatch.isRunning() && !(service instanceof NoOpService)) { loadTimes.add(Maps.immutableEntry(service, stopwatch.elapsed(MILLISECONDS))); } } } finally { monitor.leave(); } Collections.sort( loadTimes, Ordering.natural()
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 07 12:41:16 UTC 2024 - 33K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeMultiset.java
return uncheckedCastNullableTToT(elem); } int getCount() { return elemCount; } @Override public String toString() { return Multisets.immutableEntry(getElement(), getCount()).toString(); } } private static <T extends @Nullable Object> void successor(AvlNode<T> a, AvlNode<T> b) { a.succ = b; b.pred = a; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 34.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimaps.java
return map.containsValue(value); } @Override public boolean containsEntry(@CheckForNull Object key, @CheckForNull Object value) { return map.entrySet().contains(Maps.immutableEntry(key, value)); } @Override public Set<V> get(@ParametricNullness final K key) { return new Sets.ImprovedAbstractSet<V>() { @Override public Iterator<V> iterator() {
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
return map.containsValue(value); } @Override public boolean containsEntry(@CheckForNull Object key, @CheckForNull Object value) { return map.entrySet().contains(Maps.immutableEntry(key, value)); } @Override public Set<V> get(@ParametricNullness final K key) { return new Sets.ImprovedAbstractSet<V>() { @Override public Iterator<V> iterator() {
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/LocalCache.java
} @Override public boolean removeIf(Predicate<? super Entry<K, V>> filter) { checkNotNull(filter); return LocalCache.this.removeIf((k, v) -> filter.test(Maps.immutableEntry(k, v))); } @Override public boolean contains(Object o) { if (!(o instanceof Entry)) { return false; } Entry<?, ?> e = (Entry<?, ?>) o;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat May 18 03:24:34 UTC 2024 - 149.2K bytes - Viewed (0)