- Sort Score
- Num 10 results
- Language All
Results 341 - 350 of 2,272 for Extend (0.05 seconds)
-
guava-testlib/src/com/google/common/collect/testing/Helpers.java
public static <E extends @Nullable Object> List<E> copyToList(Iterable<? extends E> elements) { List<E> list = new ArrayList<>(); addAll(list, elements); return list; } public static <E extends @Nullable Object> List<E> copyToList(E[] elements) { return copyToList(asList(elements)); } // Clone of Sets.newLinkedHashSet
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Oct 10 23:13:45 GMT 2025 - 17.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java
} @Override public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) throws InterruptedException { Preconditions.checkNotNull(tasks, "tasks must not be null!"); return delegate.invokeAll(tasks); } @Override public <T> List<Future<T>> invokeAll( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) throws InterruptedException {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:37:28 GMT 2025 - 6.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java
} @Override public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) throws InterruptedException { Preconditions.checkNotNull(tasks, "tasks must not be null!"); return delegate.invokeAll(tasks); } @Override public <T> List<Future<T>> invokeAll( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) throws InterruptedException {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:37:28 GMT 2025 - 6.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/CollectionFuture.java
/** Used for {@link Futures#allAsList} and {@link Futures#successfulAsList}. */ static final class ListFuture<V extends @Nullable Object> extends CollectionFuture<V, List<@Nullable V>> { ListFuture( ImmutableCollection<? extends ListenableFuture<? extends V>> futures, boolean allMustSucceed) { super(futures, allMustSucceed); init(); } @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.9K bytes - Click Count (0) -
guava/src/com/google/common/cache/ForwardingCache.java
/** * @since 11.0 */ @Override public V get(K key, Callable<? extends V> valueLoader) throws ExecutionException { return delegate().get(key, valueLoader); } /** * @since 11.0 */ @Override /* * <? extends Object> is mostly the same as <?> to plain Java. But to nullness checkers, they * differ: <? extends Object> means "non-null types," while <?> means "all types." */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 3.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/SortedLists.java
*/ LAST_BEFORE { @Override public <E extends @Nullable Object> int resultIndex( Comparator<? super E> comparator, @ParametricNullness E key, List<? extends E> list, int foundIndex) { return FIRST_PRESENT.resultIndex(comparator, key, list, foundIndex) - 1; } }; abstract <E extends @Nullable Object> int resultIndex(Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 10.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/Lists.java
*/ private static final class TransformingSequentialList< F extends @Nullable Object, T extends @Nullable Object> extends AbstractSequentialList<T> implements Serializable { final List<F> fromList; final Function<? super F, ? extends T> function; TransformingSequentialList(List<F> fromList, Function<? super F, ? extends T> function) { this.fromList = checkNotNull(fromList);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 42.6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
* @param <V5> the type returned by the fifth future */ public static final class Combiner5< V1 extends @Nullable Object, V2 extends @Nullable Object, V3 extends @Nullable Object, V4 extends @Nullable Object, V5 extends @Nullable Object> extends Combiner { /** * A function that returns a value when applied to the values of the five futures passed to
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 11 13:51:27 GMT 2025 - 96.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Platform.java
static <K extends @Nullable Object, V extends @Nullable Object> Map<K, V> newHashMapWithExpectedSize(int expectedSize) { return CompactHashMap.createWithExpectedSize(expectedSize); } /** * Returns the platform preferred implementation of an insertion ordered map based on a hash * table. */ static <K extends @Nullable Object, V extends @Nullable Object>
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.3K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/Striped.java
// objects indefinitely. private void drainQueue() { Reference<? extends L> ref; while ((ref = queue.poll()) != null) { // We only ever register ArrayReferences with the queue so this is always safe. ArrayReference<? extends L> arrayRef = (ArrayReference<? extends L>) ref; // Try to clear out the array slot, n.b. if we fail that is fine, in either case theCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 16 22:01:32 GMT 2025 - 20.6K bytes - Click Count (0)