- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 76 for _build (0.14 sec)
-
android/guava-tests/test/com/google/common/collect/MultimapBuilderTest.java
@J2ktIncompatible @GwtIncompatible // doesn't build without explicit type parameters on build() methods public void testGenerics() { ListMultimap<String, Integer> a = MultimapBuilder.hashKeys().arrayListValues().build(); SortedSetMultimap<String, Integer> b = MultimapBuilder.linkedHashKeys().treeSetValues().build(); SetMultimap<String, Integer> c =
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 27 09:26:07 GMT 2024 - 5.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/PackageSanityTests.java
NetworkBuilder.directed().<String, String>immutable().addNode("A").build(); private static final ImmutableNetwork<String, String> IMMUTABLE_NETWORK_B = NetworkBuilder.directed().<String, String>immutable().addNode("B").build(); public PackageSanityTests() { MutableNetwork<String, String> mutableNetworkA = NetworkBuilder.directed().build(); mutableNetworkA.addNode("a");
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Nov 09 19:24:25 GMT 2023 - 3.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/NullCacheTest.java
public void testGet() { Object computed = new Object(); LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() .maximumSize(0) .removalListener(listener) .build(constantLoader(computed)); Object key = new Object(); assertSame(computed, cache.getUnchecked(key)); RemovalNotification<Object, Object> notification = listener.remove();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 4.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java
Entry<?, ?> entry = (Entry<?, ?>) object; builder.put((TypeToken) entry.getKey(), entry.getValue()); } return (Map) builder.build(); } }) .named("ImmutableTypeToInstanceMap") .withFeatures( MapFeature.REJECTS_DUPLICATES_AT_CREATION, MapFeature.RESTRICTS_KEYS,
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 6.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java
for (Entry<String, String> entry : entries) { checkNotNull(entry); builder.put(entry.getKey(), entry.getValue()); } return builder.build(); } } public static class ImmutableSortedMapCopyOfEntriesGenerator extends TestStringSortedMapGenerator { @Override public SortedMap<String, String> create(Entry<String, String>[] entries) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 4.6K bytes - Viewed (0) -
guava-tests/pom.xml
<dependency> <groupId>com.google.caliper</groupId> <artifactId>caliper</artifactId> <version>1.0-beta-3</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> </plugin> <plugin> <artifactId>maven-source-plugin</artifactId> <executions> <execution>
XML - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Aug 07 19:01:53 GMT 2023 - 4.1K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java
} @CanIgnoreReturnValue Builder<K, V> combine(Builder<K, V> other) { super.combine(other); return this; } @Override public ImmutableBiMap<K, V> build() { return buildOrThrow(); } @Override public ImmutableBiMap<K, V> buildOrThrow() { ImmutableMap<K, V> map = super.buildOrThrow(); if (map.isEmpty()) { return of();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 23 18:43:40 GMT 2024 - 7.1K bytes - Viewed (0) -
android/guava-testlib/pom.xml
<!-- use the guava we're building. --> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> </exclusion> </exclusions> </dependency> </dependencies> <build> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> </plugin> <plugin> <artifactId>maven-source-plugin</artifactId> <executions> <execution>
XML - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jul 31 18:55:22 GMT 2023 - 3.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/AndroidIncompatible.java
* <li>In at least one case, a use of {@code sun.misc.FpUtils}, the test will not even * <i>compile</i> against Android. Now, this might be an artifact of our build system, one * that we could probably work around. Or we could manually strip the test from open-source * Guava while continuing to run it internally, as we do with many other tests. This would
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Jul 07 15:40:13 GMT 2023 - 3.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java
public class ImmutableMultimapTest extends TestCase { public void testBuilder_withImmutableEntry() { ImmutableMultimap<String, Integer> multimap = new Builder<String, Integer>().put(Maps.immutableEntry("one", 1)).build(); assertEquals(Arrays.asList(1), multimap.get("one")); } public void testBuilder_withImmutableEntryAndNullContents() { Builder<String, Integer> builder = new Builder<>(); try {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 10:16:44 GMT 2024 - 5.1K bytes - Viewed (0)