- Sort Score
- Num 10 results
- Language All
Results 2811 - 2820 of 4,422 for Final (0.14 seconds)
-
guava-tests/test/com/google/common/reflect/InvokableTest.java
/** Class for testing constructor, static method and instance method. */ @SuppressWarnings("unused") // most are called by reflection private static class Prepender { private final String prefix; private final int times; Prepender(@NotBlank @Nullable String prefix, int times) throws NullPointerException { this.prefix = prefix; this.times = times; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 31.1K bytes - Click Count (0) -
docs/changelogs/upgrading_to_okhttp_4.md
Cleanup_ for a safe and fast upgrade. Backwards-Incompatible Changes ------------------------------ #### OkHttpClient final methods `OkHttpClient` has 26 accessors like `interceptors()` and `writeTimeoutMillis()` that were non-final in OkHttp 3.x and are final in 4.x. These were made non-final for use with mocking frameworks like [Mockito][mockito]. We believe subtyping `OkHttpClient` is the wrong way to test with OkHttp. If
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 16:58:16 GMT 2022 - 10.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/EqualsTester.java
* </ul> * * @author Jim McMaster * @author Jige Yu * @since 10.0 */ @GwtCompatible @NullMarked public final class EqualsTester { private static final int REPETITIONS = 3; private final List<List<Object>> equalityGroups = new ArrayList<>(); private final RelationshipTester.ItemReporter itemReporter; /** Constructs an empty EqualsTester instance */ public EqualsTester() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 6.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/TestLogHandler.java
* </pre> * * @author Kevin Bourrillion * @since 10.0 */ @GwtCompatible @NullMarked public class TestLogHandler extends Handler { private final Object lock = new Object(); /** We will keep a private list of all logged records */ @GuardedBy("lock") private final List<LogRecord> list = new ArrayList<>(); /** Adds the most recently logged record to our list. */ @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/ArrayListMultimap.java
* * @author Jared Levy * @since 2.0 */ @GwtCompatible public final class ArrayListMultimap<K extends @Nullable Object, V extends @Nullable Object> extends AbstractListMultimap<K, V> { // Default from ArrayList private static final int DEFAULT_VALUES_PER_KEY = 3; @VisibleForTesting transient int expectedValuesPerKey; /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 05 23:15:58 GMT 2025 - 6.8K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java
/** * DefaultMirrorSelector */ @Named @Singleton @Deprecated public class DefaultMirrorSelector implements MirrorSelector { private static final String WILDCARD = "*"; private static final String EXTERNAL_WILDCARD = "external:*"; private static final String EXTERNAL_HTTP_WILDCARD = "external:http:*"; @Override public Mirror getMirror(ArtifactRepository repository, List<Mirror> mirrors) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 8K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/ConfigureTimeouts.java
* limitations under the License. */ package okhttp3.recipes; import java.util.concurrent.TimeUnit; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; public final class ConfigureTimeouts { private final OkHttpClient client; public ConfigureTimeouts() throws Exception { client = new OkHttpClient.Builder() .connectTimeout(5, TimeUnit.SECONDS) .writeTimeout(5, TimeUnit.SECONDS)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Sep 28 18:00:26 GMT 2019 - 1.5K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/SynchronousGet.java
*/ package okhttp3.recipes; import java.io.IOException; import okhttp3.Headers; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; public final class SynchronousGet { private final OkHttpClient client = new OkHttpClient(); public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/helloworld.txt") .build();Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun May 22 01:29:42 GMT 2016 - 1.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/FilteredMultimapValues.java
/** * Implementation for {@link FilteredMultimap#values()}. * * @author Louis Wasserman */ @GwtCompatible final class FilteredMultimapValues<K extends @Nullable Object, V extends @Nullable Object> extends AbstractCollection<V> { @Weak private final FilteredMultimap<K, V> multimap; FilteredMultimapValues(FilteredMultimap<K, V> multimap) { this.multimap = checkNotNull(multimap); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 2.8K bytes - Click Count (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerException.java
* carried exit code will be returned from invoker {@link Invoker#invoke(InvokerRequest)} method. */ public static final class ExitException extends InvokerException { private final int exitCode; public ExitException(int exitCode) { super("EXIT=" + exitCode); this.exitCode = exitCode; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Oct 16 10:47:37 GMT 2025 - 2.5K bytes - Click Count (0)