- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 68 for Supplier (0.31 sec)
-
android/guava/src/com/google/common/base/Supplier.java
* future version of {@code com.google.common.base.Supplier} will be made to <i>extend</i> {@code * java.util.function.Supplier}, making conversion code necessary only in one direction. At that * time, this interface will be officially discouraged. * * @author Harry Heymann * @since 2.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 24 01:41:50 GMT 2024 - 2.5K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLog.java
@Override public void debug(Throwable error) { logger.debug("", error); } @Override public void debug(Supplier<String> content) { if (isDebugEnabled()) { logger.debug(content.get()); } } @Override public void debug(Supplier<String> content, Throwable error) { if (isDebugEnabled()) { logger.debug(content.get(), error); } }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Sep 22 09:07:17 GMT 2023 - 4.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/CallablesTest.java
import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.base.Supplier; import com.google.common.base.Suppliers; import java.security.Permission; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import junit.framework.TestCase;
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 5.4K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultModelCache.java
public int hashCode() { return hash; } } static class CachingSupplier<T> implements Supplier<T> { final Supplier<T> supplier; volatile Object value; CachingSupplier(Supplier<T> supplier) { this.supplier = supplier; } @Override @SuppressWarnings({"unchecked", "checkstyle:InnerAssignment"}) public T get() {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 6.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java
* * @param key the key for which to retrieve the session data, must not be {@code null} * @param supplier the supplier will compute the new value * @return the session data associated with the key */ @Nullable <T> T computeIfAbsent(@Nonnull Key<T> key, @Nonnull Supplier<T> supplier); /** * Create a key using the given class as an identifier and as the type of the object. */
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 23:31:09 GMT 2024 - 4.7K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelCache.java
* model builder. * */ public interface ModelCache { <T> T computeIfAbsent(String groupId, String artifactId, String version, String tag, Supplier<T> data); <T> T computeIfAbsent(Source path, String tag, Supplier<T> data);
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/LocaleUtil.java
} } return locale; } private static Supplier<Locale> defaultLocaleSupplier; public static Locale getDefault() { if (defaultLocaleSupplier != null) { return defaultLocaleSupplier.get(); } return Locale.ENGLISH; } public static void setDefault(final Supplier<Locale> localeSupplier) { defaultLocaleSupplier = localeSupplier; }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.9K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java
import java.util.ArrayList; import java.util.Comparator; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import java.util.function.Supplier; import java.util.stream.Collectors; import com.google.inject.AbstractModule; import com.google.inject.binder.AnnotatedBindingBuilder; import com.google.inject.name.Names;
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 14:13:36 GMT 2024 - 8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Log.java
* The stack trace for this exception will be output when this error level is enabled. * * @param error */ void debug(Throwable error); void debug(Supplier<String> content); void debug(Supplier<String> content, Throwable error); /** * @return true if the <b>info</b> error level is enabled */ boolean isInfoEnabled(); /**
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 23:54:53 GMT 2024 - 5.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/CollectorTester.java
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 6.5K bytes - Viewed (0)