- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,372 for new (0.1 sec)
-
guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java
assertTrue(TypeToken.of(subclass).isSubtypeOf(supertype)); } @SuppressWarnings("RestrictedApiChecker") // crashes under JDK8, which EP no longer supports public void testSubtypeOfInnerClass_nonStaticAnonymousClass_typeParameterOfOwnerTypeNotMatch() { TypeToken<?> supertype = new TypeToken<Mall<Outdoor>.Shop<Electronics>>() {};
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 20.3K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
private static Test testsForHashMapNullKeysForbidden() { return wrappedHashMapTests( new WrappedHashMapGenerator() { @Override Map<String, String> wrap(final HashMap<String, String> map) { if (map.containsKey(null)) { throw new NullPointerException(); } return new AbstractMap<String, String>() { @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 19 19:24:36 UTC 2023 - 11.5K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java
checkEntryNotNull(k1, v1); return new SingletonImmutableBiMap<K, V>(k1, v1); } public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1, K k2, V v2) { return new RegularImmutableBiMap<K, V>(ImmutableMap.of(k1, v1, k2, v2)); } public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1, K k2, V v2, K k3, V v3) { return new RegularImmutableBiMap<K, V>(ImmutableMap.of(k1, v1, k2, v2, k3, v3)); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 23 18:43:40 UTC 2024 - 7.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java
ListTestSuiteBuilder.using(new LongsAsListGenerator()).named("Longs.asList"), ListTestSuiteBuilder.using(new LongsAsListHeadSubListGenerator()) .named("Longs.asList, head subList"), ListTestSuiteBuilder.using(new LongsAsListTailSubListGenerator()) .named("Longs.asList, tail subList"), ListTestSuiteBuilder.using(new LongsAsListMiddleSubListGenerator())
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java
ListTestSuiteBuilder.using(new ShortsAsListGenerator()).named("Shorts.asList"), ListTestSuiteBuilder.using(new ShortsAsListHeadSubListGenerator()) .named("Shorts.asList, head subList"), ListTestSuiteBuilder.using(new ShortsAsListTailSubListGenerator()) .named("Shorts.asList, tail subList"), ListTestSuiteBuilder.using(new ShortsAsListMiddleSubListGenerator())
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.6K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
@Override public void setUp() throws Exception { super.setUp(); reference = new ValidTestObject(1, 2); equalsTester = new EqualsTester(); equalObject1 = new ValidTestObject(1, 2); equalObject2 = new ValidTestObject(1, 2); notEqualObject1 = new ValidTestObject(0, 2); } /** Test null reference yields error */ public void testAddNullReference() { try {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 17 15:49:06 UTC 2023 - 12.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
return set.subSet(firstInclusive, lastExclusive); } else { throw new IllegalArgumentException(); } } @Override public E belowSamplesLesser() { throw new UnsupportedOperationException(); } @Override public E belowSamplesGreater() { throw new UnsupportedOperationException(); } @Override public E aboveSamplesLesser() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 18.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/TestStringListMultimapGenerator.java
return (Entry<String, String>[]) new Entry<?, ?>[length]; } @Override public final String[] createKeyArray(int length) { return new String[length]; } @Override public final String[] createValueArray(int length) { return new String[length]; } /** Returns the original element list, unchanged. */ @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Feb 26 19:46:10 UTC 2024 - 3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java
private static Map<AnnotatedElement, List<Annotation>> annotationCache = new HashMap<>(); private static final Map<Class<?>, TesterRequirements> classTesterRequirementsCache = new HashMap<>(); private static final Map<Method, TesterRequirements> methodTesterRequirementsCache = new HashMap<>(); /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 21 15:08:35 UTC 2022 - 12.1K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
String read(ByteSource byteSource, Charset cs) throws IOException { return new String(byteSource.read(), cs); } }, USING_CHARSTREAMS_COPY { @Override String read(ByteSource byteSource, Charset cs) throws IOException { StringBuilder sb = new StringBuilder(); try (InputStreamReader reader = new InputStreamReader(byteSource.openStream(), cs)) { CharStreams.copy(reader, sb);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 5.2K bytes - Viewed (0)