- Sort Score
- Result 10 results
- Languages All
Results 1291 - 1300 of 7,287 for _class (0.05 sec)
-
guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java
public void testOfNullKey() { assertThrows(NullPointerException.class, () -> ImmutableBiMap.of(null, 1)); assertThrows(NullPointerException.class, () -> ImmutableBiMap.of("one", 1, null, 2)); } public void testOfNullValue() { assertThrows(NullPointerException.class, () -> ImmutableBiMap.of("one", null)); assertThrows(NullPointerException.class, () -> ImmutableBiMap.of("one", 1, "two", null)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java
assertThrows( ConcurrentModificationException.class, () -> { Iterator<V> iterator = getMap().values().iterator(); put(e3()); iterator.next(); }); } @MapFeature.Require(absent = SUPPORTS_PUT) public void testPut_unsupportedNotPresent() { assertThrows(UnsupportedOperationException.class, () -> put(e3())); expectUnchanged();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 9.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java
import junit.framework.TestSuite; /** * Tests for {@link ImmutableSortedMultiset}. * * @author Louis Wasserman */ public class ImmutableSortedMultisetTest extends TestCase { public static Test suite() { TestSuite suite = new TestSuite(); suite.addTestSuite(ImmutableSortedMultisetTest.class); suite.addTest( SortedMultisetTestSuiteBuilder.using( new TestStringMultisetGenerator() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/CrawlingInfoParamDbm.java
import org.dbflute.dbway.DBDef; import org.dbflute.util.DfTypeUtil; /** * @author ESFlute (using FreeGen) */ public class CrawlingInfoParamDbm extends AbstractDBMeta { protected static final Class<?> suppressUnusedImportLocalDateTime = LocalDateTime.class; // ===================================================================================
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 8.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java
assertThrows( NullPointerException.class, () -> builder.put(immutableEntry("one", (Integer) null))); assertThrows(NullPointerException.class, () -> builder.put(immutableEntry((String) null, 1))); } public void testBuilderWithExpectedKeysNegative() { assertThrows( IllegalArgumentException.class, () -> ImmutableMultimap.builderWithExpectedKeys(-1)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 6.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-RequestCommon.kt
fun <T : Any> Request.Builder.commonTag( type: KClass<T>, tag: T?, ) = apply { if (tag == null) { if (tags.isNotEmpty()) { (tags as MutableMap).remove(type) } } else { val mutableTags: MutableMap<KClass<*>, Any> = when { tags.isEmpty() -> mutableMapOf<KClass<*>, Any>().also { tags = it } else -> tags as MutableMap<KClass<*>, Any> } mutableTags[type] = tag
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/SuppliersTest.java
@GwtCompatible(emulated = true) public class SuppliersTest extends TestCase { static class CountingSupplier implements Supplier<Integer> { int calls = 0; @Override public Integer get() { calls++; return calls * 10; } @Override public String toString() { return "CountingSupplier"; } } static class ThrowingSupplier implements Supplier<Integer> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 17.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/SuppliersTest.java
@GwtCompatible(emulated = true) public class SuppliersTest extends TestCase { static class CountingSupplier implements Supplier<Integer> { int calls = 0; @Override public Integer get() { calls++; return calls * 10; } @Override public String toString() { return "CountingSupplier"; } } static class ThrowingSupplier implements Supplier<Integer> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 17.9K bytes - Viewed (0) -
docs/zh/docs/contributing.md
你可以使用 Python 的 `venv` 模块在一个目录中创建虚拟环境: <div class="termy"> ```console $ python -m venv env ``` </div> 这将使用 Python 程序创建一个 `./env/` 目录,然后你将能够为这个隔离的环境安装软件包。 ### 激活虚拟环境 使用以下方法激活新环境: //// tab | Linux, macOS <div class="termy"> ```console $ source ./env/bin/activate ``` </div> //// //// tab | Windows PowerShell <div class="termy"> ```console
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 12.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java
ConcurrentModificationException.class, () -> { Iterator<E> iterator = collection.iterator(); assertTrue(collection.add(e3())); iterator.next(); }); } /** * Returns the {@link Method} instance for {@link #testAdd_nullSupported()} so that tests of * {@link java.util.Collections#checkedCollection(java.util.Collection, Class)} can suppress it
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.9K bytes - Viewed (0)