- Sort Score
- Result 10 results
- Languages All
Results 1351 - 1360 of 6,944 for CLASS (0.04 sec)
-
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
public void testOfNullKey() { assertThrows(NullPointerException.class, () -> ImmutableMap.of(null, 1)); assertThrows(NullPointerException.class, () -> ImmutableMap.of("one", 1, null, 2)); } public void testOfNullValue() { assertThrows(NullPointerException.class, () -> ImmutableMap.of("one", null)); assertThrows(NullPointerException.class, () -> ImmutableMap.of("one", 1, "two", null)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 36.7K bytes - Viewed (0) -
src/main/java/jcifs/util/SmbCircuitBreaker.java
* - CLOSED: Normal operation, requests pass through * - OPEN: Service is failing, requests are blocked * - HALF_OPEN: Testing if service has recovered */ public class SmbCircuitBreaker { private static final Logger log = LoggerFactory.getLogger(SmbCircuitBreaker.class); /** * Circuit breaker states */ public enum State { /** * Normal operation - requests pass through */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 33.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/CharMatcher.java
* Implementations are strongly encouraged to be side-effect-free and immutable. * * <p>Throughout the documentation of this class, the phrase "matching character" is used to mean * "any {@code char} value {@code c} for which {@code this.matches(c)} returns {@code true}". * * <p><b>Warning:</b> This class deals only with {@code char} values, that is, <a
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 53.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/TestingWeighers.java
return new IntValueWeigher(); } static final class ConstantWeigher implements Weigher<Object, Object> { private final int constant; ConstantWeigher(int constant) { this.constant = constant; } @Override public int weigh(Object key, Object value) { return constant; } } static final class IntKeyWeigher implements Weigher<Integer, Object> { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbEndOfFileExceptionTest.java
import org.mockito.junit.jupiter.MockitoExtension; /** * Tests for SmbEndOfFileException focusing on message, status, and throwability. */ @ExtendWith(MockitoExtension.class) class SmbEndOfFileExceptionTest { /** * Verifies the no-arg constructor sets the expected message, status, and no cause. */ @Test void defaultConstructorSetsMessageAndStatus() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/DocsTest.kt
} }) enum class DocsTestType( val ccEnabled: Boolean, val docsTestName: String, val docsTestDesc: String, ) { CONFIG_CACHE_ENABLED(true, "ConfigCacheDocsTest", "Docs Test With Config Cache Enabled"), CONFIG_CACHE_DISABLED(false, "DocsTest", "Docs Test"), } class DocsTest( model: CIBuildModel, stage: Stage, os: Os,Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Tue Jun 17 10:05:07 UTC 2025 - 3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java
} private static final class WrappedCallable<T> implements Callable<T> { private final Callable<T> delegate; WrappedCallable(Callable<T> delegate) { this.delegate = delegate; } @Override public T call() throws Exception { return delegate.call(); } } private static final class WrappedRunnable implements Runnable {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 7.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java
String test = "abc" + Character.MIN_HIGH_SURROGATE; assertThrows(IllegalArgumentException.class, () -> escapeAsString(NOP_ESCAPER, test)); assertThrows(IllegalArgumentException.class, () -> escapeAsString(SIMPLE_ESCAPER, test)); } public void testNullInput() { UnicodeEscaper e = SIMPLE_ESCAPER; assertThrows(NullPointerException.class, () -> e.escape((String) null)); } public void testBadStrings() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java
.createTestSuite(); } @SuppressWarnings("rawtypes") // class literals @Override protected List<Class<? extends AbstractTester>> getTesters() { List<Class<? extends AbstractTester>> testers = copyToList(super.getTesters()); testers.add(NavigableSetNavigationTester.class); return testers; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java
String test = "abc" + Character.MIN_HIGH_SURROGATE; assertThrows(IllegalArgumentException.class, () -> escapeAsString(NOP_ESCAPER, test)); assertThrows(IllegalArgumentException.class, () -> escapeAsString(SIMPLE_ESCAPER, test)); } public void testNullInput() { UnicodeEscaper e = SIMPLE_ESCAPER; assertThrows(NullPointerException.class, () -> e.escape((String) null)); } public void testBadStrings() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6K bytes - Viewed (0)