- Sort Score
- Result 10 results
- Languages All
Results 2841 - 2850 of 3,503 for 1final (0.19 sec)
-
guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java
import org.checkerframework.checker.nullness.qual.Nullable; /** Replacements for JUnit's {@code assertThrows} that work under GWT/J2CL. */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault final class ReflectionFreeAssertThrows { interface ThrowingRunnable { void run() throws Throwable; } interface ThrowingSupplier { @Nullable Object get() throws Throwable; } @CanIgnoreReturnValue
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 6.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java
import static com.google.common.truth.Truth.assertThat; import static java.lang.Math.max; /** Unit test for {@link AtomicDouble}. */ public class AtomicDoubleTest extends JSR166TestCase { private static final double[] VALUES = { Double.NEGATIVE_INFINITY, -Double.MAX_VALUE, (double) Long.MIN_VALUE, (double) Integer.MIN_VALUE, -Math.PI, -1.0, -Double.MIN_VALUE, -0.0, +0.0,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 10.3K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java
/** */ public class DefaultArtifact implements Artifact { private String groupId; private String artifactId; private String baseVersion; private final String type; private final String classifier; private volatile String scope; private volatile File file; private ArtifactRepository repository; private String downloadUrl;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 14.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractQueueTester.java
@GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class AbstractQueueTester<E> extends AbstractCollectionTester<E> { protected final Queue<E> getQueue() { return (Queue<E>) collection; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 1.2K bytes - Viewed (0) -
mockwebserver-junit5/README.md
``` class MyTest { @Test void test(MockWebServer server) { ... } } ``` Alternately you may add the [MockWebServer] as a constructor parameter: ``` class MyTest { private final MockWebServer server; MyTest(MockWebServer server) { this.server = server; } @Test void test() { ... } } ``` Constructor injection is particularly concise in Kotlin:
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 1.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/UncheckedTimeoutException.java
super(cause); } public UncheckedTimeoutException(@CheckForNull String message, @CheckForNull Throwable cause) { super(message, cause); } private static final long serialVersionUID = 0;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 1.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/Platform.java
import com.google.common.annotations.GwtCompatible; import java.util.Locale; /** * This class is emulated in GWT. * * @author Hayward Chan */ @GwtCompatible final class Platform { /** Format the template with args, only supports the placeholder {@code %s}. */ static String format(String template, Object... args) { return String.format(Locale.ROOT, template, args); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/AbstractQueueTester.java
@GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class AbstractQueueTester<E> extends AbstractCollectionTester<E> { protected final Queue<E> getQueue() { return (Queue<E>) collection; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 1.2K bytes - Viewed (0) -
guava/src/com/google/common/hash/Java8Compatibility.java
import java.nio.Buffer; /** * Wrappers around {@link Buffer} methods that are covariantly overridden in Java 9+. See * https://github.com/google/guava/issues/3990 */ @GwtIncompatible @ElementTypesAreNonnullByDefault final class Java8Compatibility { static void clear(Buffer b) { b.clear(); } static void flip(Buffer b) { b.flip(); } static void limit(Buffer b, int limit) { b.limit(limit); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 1.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/ProfileActivationException.java
* under the License. */ package org.apache.maven.profiles.activation; /** * ProfileActivationException */ @Deprecated public class ProfileActivationException extends Exception { private static final long serialVersionUID = -90820222109103638L; public ProfileActivationException(String message, Throwable cause) { super(message, cause); } public ProfileActivationException(String message) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.2K bytes - Viewed (0)