Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 956 for builders (0.73 sec)

  1. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

     *
     * @author Mike Bostock
     */
    @GwtCompatible
    @NullMarked
    public class LinkedListMultimapTest extends TestCase {
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      @AndroidIncompatible // test-suite builders
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTest(
            ListMultimapTestSuiteBuilder.using(
                    new TestStringListMultimapGenerator() {
                      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18K bytes
    - Viewed (0)
  2. 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();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        assertEquals(ImmutableList.of(1, 2, 3), ImmutableList.copyOf(list.toArray(new Integer[0])));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      @AndroidIncompatible // test-suite builders
      public static class BuiltTests extends TestCase {
        public static Test suite() {
          TestSuite suite = new TestSuite();
    
          suite.addTest(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  4. 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,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/IteratorsTest.java

     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public class IteratorsTest extends TestCase {
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      @AndroidIncompatible // test-suite builders
      public static Test suite() {
        TestSuite suite = new TestSuite(IteratorsTest.class.getSimpleName());
        suite.addTest(testsForRemoveAllAndRetainAll());
        suite.addTestSuite(IteratorsTest.class);
        return suite;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public class IteratorsTest extends TestCase {
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      @AndroidIncompatible // test-suite builders
      public static Test suite() {
        TestSuite suite = new TestSuite(IteratorsTest.class.getSimpleName());
        suite.addTest(testsForRemoveAllAndRetainAll());
        suite.addTestSuite(IteratorsTest.class);
        return suite;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  7. 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();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

      }
    
      public void testBuilderPutNullKey() {
        Builder<String, Integer> builder = ImmutableSortedMap.naturalOrder();
        assertThrows(NullPointerException.class, () -> builder.put(null, 1));
      }
    
      public void testBuilderPutNullValue() {
        Builder<String, Integer> builder = ImmutableSortedMap.naturalOrder();
        assertThrows(NullPointerException.class, () -> builder.put("one", null));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RegularImmutableMap.java

        if (hashTablePlus instanceof Object[]) {
          Object[] hashTableAndSizeAndDuplicate = (Object[]) hashTablePlus;
          Builder.DuplicateKey duplicateKey = (Builder.DuplicateKey) hashTableAndSizeAndDuplicate[2];
          if (builder == null) {
            throw duplicateKey.exception();
          }
          builder.duplicateKey = duplicateKey;
          hashTable = hashTableAndSizeAndDuplicate[0];
          n = (Integer) hashTableAndSizeAndDuplicate[1];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  10. android/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
         */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
Back to top