- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 291 for Supplier (0.28 sec)
-
android/guava/src/com/google/common/io/ByteSink.java
/** * A destination to which bytes can be written, such as a file. Unlike an {@link OutputStream}, a * {@code ByteSink} is not an open, stateful stream that can be written to and closed. Instead, it * is an immutable <i>supplier</i> of {@code OutputStream} instances. * * <p>{@code ByteSink} provides two kinds of methods: * * <ul> * <li><b>Methods that return a stream:</b> These methods should return a <i>new</i>, independent
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 28 20:13:02 GMT 2023 - 5.5K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/PluginDescriptorCache.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 2.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java
*/ package com.google.common.reflect; import static com.google.common.truth.Truth.assertThat; import static org.junit.Assert.assertThrows; import com.google.common.base.Predicate; import com.google.common.base.Supplier; import java.lang.reflect.GenericArrayType; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import java.lang.reflect.TypeVariable; import java.lang.reflect.WildcardType;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 19.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multisets.java
* will be added more than once, with the count summed over all appearances of the element. * * <p>Note that {@code stream.collect(toMultiset(function, e -> 1, supplier))} is equivalent to * {@code stream.map(function).collect(Collectors.toCollection(supplier))}. * * <p>To collect to an {@link ImmutableMultiset}, use {@link * ImmutableMultiset#toImmutableMultiset}. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 41.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/MoreObjects.java
* accomplished with {@link Optional#or(Object) first.or(second)}. That approach also allows for * lazy evaluation of the fallback instance, using {@link Optional#or(Supplier) * first.or(supplier)}. * * <p><b>Java 9 users:</b> use {@code java.util.Objects.requireNonNullElse(first, second)} * instead. * * @return {@code first} if it is non-null; otherwise {@code second} if it is non-null
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Oct 13 14:11:58 GMT 2023 - 15.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/PluginRealmCache.java
List<RemoteRepository> repositories, RepositorySystemSession session); CacheRecord get(Key key); CacheRecord get(Key key, PluginRealmSupplier supplier) throws PluginResolutionException, PluginContainerException; CacheRecord put(Key key, ClassRealm pluginRealm, List<Artifact> pluginArtifacts); void flush(); /**
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 3.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java
requestExtender.extend(request); } MavenSessionBuilderSupplier supplier = new MavenSessionBuilderSupplier(repoSystem); SessionBuilder sessionBuilder = supplier.get(); sessionBuilder.setArtifactTypeRegistry(new TypeRegistryAdapter(typeRegistry)); // dynamic sessionBuilder.setCache(request.getRepositoryCache());
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 14:13:36 GMT 2024 - 27.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
SUPPORTS_REMOVE, CollectionFeature.SUPPORTS_ITERATOR_REMOVE, MultisetTestSuiteBuilder.NoRecurse.NO_ENTRY_SET, // Cannot create entries with count > 1 }; static final Supplier<TreeSet<String>> STRING_TREESET_FACTORY = new Supplier<TreeSet<String>>() { @Override public TreeSet<String> get() { return new TreeSet<>(Ordering.natural().nullsLast()); } };
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 20:09:59 GMT 2024 - 29.7K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
public <T extends FromTo<String, Integer> & Supplier<Long>> void checkArray(T f, String s) { calledWith(f, s); } void check() { runTester(); FromTo<?, ?> defaultFunction = (FromTo<?, ?>) getDefaultParameterValue(0); assertEquals(0, defaultFunction.apply(null)); Supplier<?> defaultSupplier = (Supplier<?>) defaultFunction;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Nov 16 15:12:31 GMT 2023 - 47.9K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheBuilder.java
* * - lambda: Outside Google, we got a report of a similar problem in * https://github.com/google/guava/issues/6565 */ @SuppressWarnings("AnonymousToLambda") static final Supplier<StatsCounter> CACHE_STATS_COUNTER = new Supplier<StatsCounter>() { @Override public StatsCounter get() { return new SimpleStatsCounter(); } };
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 51.3K bytes - Viewed (0)