- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 2,223 for generic (0.07 seconds)
-
guava-testlib/src/com/google/common/collect/testing/testers/MapToStringTester.java
import com.google.common.collect.testing.features.MapFeature; import java.util.LinkedHashMap; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import org.junit.Ignore; /** * A generic JUnit test which tests {@code toString()} operations on a map. Can't be invoked * directly; please see {@link com.google.common.collect.testing.MapTestSuiteBuilder}. * * @author Kevin Bourrillion * @author Louis WassermanCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceTester.java
import com.google.common.collect.testing.features.MapFeature; import java.util.concurrent.ConcurrentMap; import org.jspecify.annotations.NullMarked; import org.junit.Ignore; /** * A generic JUnit test which tests {@code replace(K, V)} operations on a concurrent map. Can't be * invoked directly; please see {@link * com.google.common.collect.testing.ConcurrentMapTestSuiteBuilder}. * * @author Louis WassermanCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 3.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/ClassToInstanceMap.java
* * <h3>Implementations</h3> * * <ul> * <li>{@link ImmutableClassToInstanceMap} * <li>{@link MutableClassToInstanceMap} * </ul> * * <p>To map a generic type to an instance of that type, use {@link * com.google.common.reflect.TypeToInstanceMap} instead. * * <p>See the Guava User Guide article on <a href=
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.9K bytes - Click Count (0) -
docs/zh-hant/docs/python-types.md
```python from typing import Any def some_function(data: Any): print(data) ``` ### 泛型(Generic types) { #generic-types } 有些型別可以在方括號中接收「型別參數」,以定義其內部元素的型別,例如「字串的 list」可以宣告為 `list[str]`。 這些能接收型別參數的型別稱為「泛型(Generic types)」或「Generics」。 你可以將相同的內建型別用作泛型(使用方括號並在裡面放型別): * `list` * `tuple` * `set` * `dict` #### List { #list }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 10.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAtIndexTester.java
import com.google.common.collect.testing.features.ListFeature; import java.util.ConcurrentModificationException; import java.util.Iterator; import java.util.List; import org.junit.Ignore; /** * A generic JUnit test which tests {@code remove(int)} operations on a list. Can't be invoked * directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}. * * @author Chris Povirk */ @GwtCompatibleCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapForEachTester.java
import com.google.common.collect.testing.features.MapFeature; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Map.Entry; import org.junit.Ignore; /** * A generic JUnit test which tests {@link Map#forEach}. Can't be invoked directly; please see * {@link com.google.common.collect.testing.MapTestSuiteBuilder}. * * @author Louis Wasserman */ @GwtCompatibleCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 31 14:51:04 GMT 2024 - 3.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapClearTester.java
import com.google.common.collect.testing.features.MapFeature; import java.util.ConcurrentModificationException; import java.util.Iterator; import java.util.Map.Entry; import org.junit.Ignore; /** * A generic JUnit test which tests {@code clear()} operations on a map. Can't be invoked directly; * please see {@link com.google.common.collect.testing.MapTestSuiteBuilder}. * * @author George van den Driessche * @author Chris PovirkCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.9K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/cisupport/CIDetectorHelperTest.java
@Test void none() throws Exception { assertEquals("NONE;", runner(Map.of())); } @Test void generic() throws Exception { assertEquals(GenericCIDetector.NAME + ";", runner(Map.of("CI", "true"))); } @Test void jenkins() throws Exception {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Apr 13 18:50:07 GMT 2025 - 3.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java
import com.google.common.collect.testing.WrongType; import com.google.common.collect.testing.features.CollectionSize; import com.google.common.collect.testing.features.MapFeature; import org.junit.Ignore; /** * A generic JUnit test which tests {@code get} operations on a map. Can't be invoked directly; * please see {@link com.google.common.collect.testing.MapTestSuiteBuilder}. * * @author Kevin Bourrillion * @author Chris Povirk */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListGetTester.java
import static com.google.common.collect.testing.testers.ReflectionFreeAssertThrows.assertThrows; import com.google.common.annotations.GwtCompatible; import org.junit.Ignore; /** * A generic JUnit test which tests {@code get()} operations on a list. Can't be invoked directly; * please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}. * * @author Chris Povirk */ @GwtCompatibleCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 1.7K bytes - Click Count (0)