- Sort Score
- Num 10 results
- Language All
Results 541 - 550 of 3,329 for new1 (0.02 seconds)
-
guava-tests/test/com/google/common/reflect/TypesTest.java
Types.newParameterizedTypeWithOwner(Map.class, Entry.class, String.class, int[][].class); new EqualsTester() .addEqualityGroup(jvmType, ourType) .addEqualityGroup(new TypeCapture<Entry<String, String>>() {}.capture()) .addEqualityGroup(new TypeCapture<Map<String, Integer>>() {}.capture()) .testEquals(); assertThat(ourType.toString()).isEqualTo(jvmType.toString());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 15.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
@Override Set<K> createKeySet() { return new KeySet(map); } final Set<K> createMaybeNavigableKeySet() { if (map instanceof NavigableMap) { return new NavigableKeySet((NavigableMap<K, Collection<V>>) map); } else if (map instanceof SortedMap) { return new SortedKeySet((SortedMap<K, Collection<V>>) map); } else { return new KeySet(map); } } @WeakOuter
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 48.4K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
return new TypeResolver().where(TypeMappingIntrospector.getTypeMappings(invariantContext)); } /** * Returns a new {@code TypeResolver} with type variables in {@code formal} mapping to types in * {@code actual}. * * <p>For example, if {@code formal} is a {@code TypeVariable T}, and {@code actual} is {@code * String.class}, then {@code new TypeResolver().where(formal, actual)} will {@linkplain
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 22:30:05 GMT 2025 - 25.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/InvokableTest.java
assertEquals(String.class, parameters.get(0).getType().getType()); assertTrue(parameters.get(0).isAnnotationPresent(NotBlank.class)); assertEquals(new TypeToken<Iterable<String>>() {}, parameters.get(1).getType()); assertFalse(parameters.get(1).isAnnotationPresent(NotBlank.class)); new EqualsTester() .addEqualityGroup(parameters.get(0)) .addEqualityGroup(parameters.get(1)) .testEquals(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 31.1K bytes - Click Count (0) -
build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsIntegrationTest.groovy
} ReleasedVersion releasedVersion(String version, long date = System.currentTimeMillis()) { new ReleasedVersion(version, format.format(new Date(date))) } ReleasedVersion snapshot(String baseVersion, long date = System.currentTimeMillis()) { releasedVersion("${baseVersion}-${format.format(new Date(date))}", date) }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 23 14:47:12 GMT 2026 - 2.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEqualsTester.java
public void testEqualsTrue() { new EqualsTester() .addEqualityGroup(multimap(), getSubjectGenerator().create(getSampleElements().toArray())) .testEquals(); } public void testEqualsFalse() { List<Entry<K, V>> targetEntries = new ArrayList<>(getSampleElements()); targetEntries.add(mapEntry(k0(), v3())); new EqualsTester() .addEqualityGroup(multimap())
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java
k3(), (k, v) -> { throw new AssertionFailedError(); })); expectUnchanged(); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testComputeIfPresent_supportedPresent() { assertEquals( "computeIfPresent(present, function) should return new value", v3(), getMap() .computeIfPresent(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 31 14:51:04 GMT 2024 - 6.1K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java
String upperString = testString.toUpperCase(); CharSequence testSeq = new StringBuilder(testString); CharSequence upperSeq = new StringBuilder(upperString); CharSequence[] lhs = new CharSequence[] {testString, testSeq, testString, testSeq}; CharSequence[] rhs = new CharSequence[] {upperString, upperString, upperSeq, upperSeq}; boolean dummy = false;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/JdkBackedImmutableMap.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 4.7K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/collect/MapBenchmark.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 7.8K bytes - Click Count (0)