- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for copyFor (0.06 sec)
-
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
return null; } StrongKeyWeakValueEntry<K, V> newEntry = newEntry(segment, entry.key, entry.hash, newNext); newEntry.valueReference = entry.valueReference.copyFor(segment.queueForValues, newEntry); return newEntry; } @Override public void setValue( StrongKeyWeakValueSegment<K, V> segment, StrongKeyWeakValueEntry<K, V> entry, V value) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 89.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
public static <V extends @Nullable Object> ListenableFuture<List<V>> allAsList( ListenableFuture<? extends V>... futures) { ListenableFuture<List<@Nullable V>> nullable = new ListFuture<V>(ImmutableList.copyOf(futures), true); // allAsList ensures that it fills the output list with V instances. @SuppressWarnings("nullness") ListenableFuture<List<V>> nonNull = nullable; return nonNull; } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 64.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
} /** * Not supported. Use {@code ImmutableSortedMap.copyOf(ImmutableMap.ofEntries(...))}. * * @deprecated Use {@code ImmutableSortedMap.copyOf(ImmutableMap.ofEntries(...))}. */ @DoNotCall("ImmutableSortedMap.ofEntries not currently available; use ImmutableSortedMap.copyOf") @Deprecated @SafeVarargs public static <K, V> ImmutableSortedMap<K, V> ofEntries(Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 52.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
Collection<E> collection = (Collection<E>) elements; if (collection.isEmpty()) { return ImmutableSet.of(); } else { return ImmutableEnumSet.asImmutable(EnumSet.copyOf(collection)); } } else { Iterator<E> itr = elements.iterator(); if (itr.hasNext()) { EnumSet<E> enumSet = EnumSet.of(itr.next()); Iterators.addAll(enumSet, itr);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 81.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
Iterator<TestDatum> merged = Iterators.mergeSorted(ImmutableList.of(left.iterator(), right.iterator()), comparator); ImmutableList<TestDatum> result = ImmutableList.copyOf(merged); assertThat(result) .containsExactly( new TestDatum("A", 2), new TestDatum("B", 1), new TestDatum("C", 1), new TestDatum("C", 2))Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 56.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/Iterators.java
*/ @SafeVarargs public static <T extends @Nullable Object> Iterator<T> concat(Iterator<? extends T>... inputs) { return concatNoDefensiveCopy(Arrays.copyOf(inputs, inputs.length)); } /** * Combines multiple iterators into a single iterator. The returned iterator iterates across the
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 16 12:42:11 UTC 2025 - 51.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
} } // For Guava bug https://github.com/google/guava/issues/1025 public void testDespiteGenericSignatureFormatError() { ImmutableSet<?> unused = ImmutableSet.copyOf( TypeToken.of(ToReproduceGenericSignatureFormatError.SubOuter.SubInner.class) .getTypes() .rawTypes()); } private abstract static class Entry<K, V> {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 89K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
private Combiner(boolean allMustSucceed, Iterable<? extends ClosingFuture<?>> inputs) { this.allMustSucceed = allMustSucceed; this.inputs = ImmutableList.copyOf(inputs); for (ClosingFuture<?> input : inputs) { input.becomeSubsumedInto(closeables); } } /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 11 13:51:27 UTC 2025 - 96.9K bytes - Viewed (0)