- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 292 for Constructors (0.12 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava/src/com/google/common/base/internal/Finalizer.java
private final ReferenceQueue<Object> queue; // By preference, we will use the Thread constructor that has an `inheritThreadLocals` parameter. // But before Java 9, our only way not to inherit ThreadLocals is to zap them after the thread // is created, by accessing a private field. private static final @Nullable Constructor<Thread> bigThreadConstructor = getBigThreadConstructor();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 9.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingMap.java
public abstract class ForwardingMap<K extends @Nullable Object, V extends @Nullable Object> extends ForwardingObject implements Map<K, V> { // TODO(lowasser): identify places where thread safety is actually lost /** Constructor for use by subclasses. */ protected ForwardingMap() {} @Override protected abstract Map<K, V> delegate(); @Override public int size() { return delegate().size(); } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 9.8K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/ForwardingListenableFuture.java
* * @author Shardul Deo * @since 4.0 */ @GwtCompatible public abstract class ForwardingListenableFuture<V extends @Nullable Object> extends ForwardingFuture<V> implements ListenableFuture<V> { /** Constructor for use by subclasses. */ protected ForwardingListenableFuture() {} @Override protected abstract ListenableFuture<? extends V> delegate(); @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.3K bytes - Click Count (0) -
samples/slack/src/main/java/okhttp3/slack/SlackApi.java
* * <p>You must configure your Slack API OAuth and Permissions page with a localhost URL like {@code * http://localhost:53203/oauth/}, passing the same port to this class’ constructor. */ public final class SlackApi { private final HttpUrl baseUrl = HttpUrl.get("https://slack.com/api/"); private final OkHttpClient httpClient; private final Moshi moshi; public final String clientId;Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Jul 06 19:30:55 GMT 2018 - 4.4K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractJavaNullabilityChangesTest.kt
"Field nonFinalField: Nullability breaking change.", "Method com.example.Source.foo(java.lang.String): Parameter 0 from null accepting to non-null accepting breaking change.", "Constructor com.example.Source(java.lang.String): Parameter 0 from null accepting to non-null accepting breaking change." ) assertHasNoWarning() assertHasNoInformation() } }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Feb 04 09:55:47 GMT 2025 - 5.1K bytes - Click Count (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/package-info.java
* to be lightweight yet powerful, supporting various scopes of object lifecycle from * singleton instances to mojo-execution-scoped beans. * <p> * Key features include: * <ul> * <li>Constructor, method, and field injection</li> * <li>Qualifiers for distinguishing between beans of the same type</li> * <li>Multiple scopes (Singleton, Session, and MojoExecution)</li>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jan 30 23:28:59 GMT 2025 - 896 bytes - Click Count (0) -
okhttp-logging-interceptor/README.md
OkHttpClient client = new OkHttpClient.Builder() .addInterceptor(logging) .build(); ``` You can change the log level at any time by calling `setLevel()`. To log to a custom location, pass a `Logger` instance to the constructor. ```java HttpLoggingInterceptor logging = new HttpLoggingInterceptor(new Logger() { @Override public void log(String message) { Timber.tag("OkHttp").d(message); } }); ```
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Oct 30 21:39:59 GMT 2025 - 1.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java
throw new RuntimeException("bad constructor"); } public ExceptionWithGoodAndBadConstructor(Throwable cause) { super(cause); } } static final class ExceptionWithBadConstructor extends Exception { public ExceptionWithBadConstructor(String message, Throwable cause) { throw new RuntimeException("bad constructor"); } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/FormBody.kt
import okhttp3.internal.url.FORM_ENCODE_SET import okhttp3.internal.url.canonicalizeWithCharset import okhttp3.internal.url.percentDecode import okio.Buffer import okio.BufferedSink class FormBody internal constructor( encodedNames: List<String>, encodedValues: List<String>, ) : RequestBody() { private val encodedNames: List<String> = encodedNames.toImmutableList()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingSortedMultiset.java
* * @author Louis Wasserman * @since 15.0 */ @GwtCompatible public abstract class ForwardingSortedMultiset<E extends @Nullable Object> extends ForwardingMultiset<E> implements SortedMultiset<E> { /** Constructor for use by subclasses. */ protected ForwardingSortedMultiset() {} @Override protected abstract SortedMultiset<E> delegate(); @Override public NavigableSet<E> elementSet() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.6K bytes - Click Count (0)