- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 1,361 for builders (0.18 seconds)
-
android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java
import org.jspecify.annotations.Nullable; /** * Test suites for wrappers in {@code Maps}. * * @author Louis Wasserman */ @NullUnmarked @AndroidIncompatible // test-suite builders public class MapsCollectionTest extends TestCase { public static Test suite() { TestSuite suite = new TestSuite(); suite.addTest( NavigableMapTestSuiteBuilder.using(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 32.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java
assertThrows(NullPointerException.class, () -> builder.put(null, 1)); } public void testBuilderPutNullValue() { Builder<String, Integer> builder = new Builder<>(); assertThrows(NullPointerException.class, () -> builder.put("one", null)); } public void testBuilderPutNullKeyViaPutAll() { Builder<String, Integer> builder = new Builder<>(); assertThrows( NullPointerException.class,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 21.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java
ImmutableMultiset.Builder<String> builder = ImmutableMultiset.builder(); builder.addCopies("a", 2); builder.add("b"); builder.add("c"); builder.setCount("b", 0); ImmutableMultiset<String> multiset = builder.build(); assertThat(multiset.elementSet()).containsExactly("a", "c").inOrder(); builder.add("b");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 24.9K bytes - Click Count (0) -
misc/go_android_exec/main.go
"syscall" ) func adbRun(args string) (int, error) { // The exit code of adb is often wrong. In theory it was fixed in 2016 // (https://code.google.com/p/android/issues/detail?id=3254), but it's // still broken on our builders in 2023. Instead, append the exitcode to // the output and parse it from there. filter, exitStr := newExitCodeFilter(os.Stdout) args += "; echo -n " + exitStr + "$?" cmd := adbCmd("exec-out", args)
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Aug 21 17:46:57 GMT 2023 - 15.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableCollection.java
} return newCapacity; } Builder() {} /** * Adds {@code element} to the {@code ImmutableCollection} being built. * * <p>Note that each builder class covariantly returns its own type from this method. * * @param element the element to add * @return this {@code Builder} instance * @throws NullPointerException if {@code element} is null */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 18.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
/** * Run collection tests on wrappers from {@link Multimaps}. * * @author Jared Levy */ @GwtIncompatible // suite // TODO(cpovirk): set up collect/gwt/suites version @NullUnmarked @AndroidIncompatible // test-suite builders public class MultimapsCollectionTest extends TestCase { private static final Feature<?>[] FOR_MAP_FEATURES_ONE = { CollectionSize.ONE, ALLOWS_NULL_VALUES, SUPPORTS_REMOVE,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Sep 24 22:52:18 GMT 2025 - 28.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
/** * Run collection tests on wrappers from {@link Multimaps}. * * @author Jared Levy */ @GwtIncompatible // suite // TODO(cpovirk): set up collect/gwt/suites version @NullUnmarked @AndroidIncompatible // test-suite builders public class MultimapsCollectionTest extends TestCase { private static final Feature<?>[] FOR_MAP_FEATURES_ONE = { CollectionSize.ONE, ALLOWS_NULL_VALUES, SUPPORTS_REMOVE,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Sep 24 22:52:18 GMT 2025 - 28.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListTest.java
ImmutableList.Builder<String> builder = ImmutableList.builder(); assertThrows(NullPointerException.class, () -> builder.addAll((Iterable<String>) null)); } { ImmutableList.Builder<String> builder = ImmutableList.builder(); assertThrows(NullPointerException.class, () -> builder.addAll((Iterator<String>) null)); } { ImmutableList.Builder<String> builder = ImmutableList.builder();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 24.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
ImmutableList.Builder<String> builder = ImmutableList.builder(); assertThrows(NullPointerException.class, () -> builder.addAll((Iterable<String>) null)); } { ImmutableList.Builder<String> builder = ImmutableList.builder(); assertThrows(NullPointerException.class, () -> builder.addAll((Iterator<String>) null)); } { ImmutableList.Builder<String> builder = ImmutableList.builder();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 23.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/TableCollectionTest.java
CollectionFeature.KNOWN_ORDER, CollectionFeature.SUPPORTS_REMOVE, CollectionFeature.ALLOWS_NULL_QUERIES }; @J2ktIncompatible @GwtIncompatible // suite @AndroidIncompatible // test-suite builders public static Test suite() { TestSuite suite = new TestSuite(); // Not testing rowKeySet() or columnKeySet() of Table.transformValues() // since the transformation doesn't affect the row and column key sets.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 35.5K bytes - Click Count (0)