Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 73 for buildOrThrow (0.18 seconds)

  1. android/guava-tests/test/com/google/common/net/ReflectionFreeAssertThrows.java

              .put(VerifyException.class, e -> e instanceof VerifyException)
              .putAll(PlatformSpecificExceptionBatch.PLATFORM.exceptions())
              .buildOrThrow();
    
      private ReflectionFreeAssertThrows() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/math/ReflectionFreeAssertThrows.java

              .put(VerifyException.class, e -> e instanceof VerifyException)
              .putAll(PlatformSpecificExceptionBatch.PLATFORM.exceptions())
              .buildOrThrow();
    
      private ReflectionFreeAssertThrows() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java

              .put(VerifyException.class, e -> e instanceof VerifyException)
              .putAll(PlatformSpecificExceptionBatch.PLATFORM.exceptions())
              .buildOrThrow();
    
      private ReflectionFreeAssertThrows() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java

              .put(VerifyException.class, e -> e instanceof VerifyException)
              .putAll(PlatformSpecificExceptionBatch.PLATFORM.exceptions())
              .buildOrThrow();
    
      private ReflectionFreeAssertThrows() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 7K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

                    .put("one", 1)
                    .put("two", 2)
                    .put("three", 3)
                    .put("four", 4)
                    .put("five", 5)
                    .buildOrThrow());
        assertMapEquals(bimap, "one", 1, "two", 2, "three", 3, "four", 4, "five", 5);
        assertMapEquals(bimap.inverse(), 1, "one", 2, "two", 3, "three", 4, "four", 5, "five");
      }
    
    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)
  6. guava/src/com/google/common/collect/TableCollectors.java

            (builder, t) ->
                builder.put(rowFunction.apply(t), columnFunction.apply(t), valueFunction.apply(t)),
            ImmutableTable.Builder::combine,
            ImmutableTable.Builder::buildOrThrow);
      }
    
      static <T extends @Nullable Object, R, C, V>
          Collector<T, ?, ImmutableTable<R, C, V>> toImmutableTable(
              Function<? super T, ? extends R> rowFunction,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 11 19:03:19 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/ImmutableSortedMap.java

       *         .put(1, "one")
       *         .put(2, "two")
       *         .put(3, "three")
       *         .buildOrThrow();
       * }
       *
       * <p>For <i>small</i> immutable sorted maps, the {@code ImmutableSortedMap.of()} methods are even
       * more convenient.
       *
       * <p>Builder instances can be reused - it is safe to call {@link #buildOrThrow} multiple times to
       * build multiple maps in series. Each map is a superset of the maps created before it.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 52.1K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/TableCollectors.java

            (builder, t) ->
                builder.put(rowFunction.apply(t), columnFunction.apply(t), valueFunction.apply(t)),
            ImmutableTable.Builder::combine,
            ImmutableTable.Builder::buildOrThrow);
      }
    
      static <T extends @Nullable Object, R, C, V>
          Collector<T, ?, ImmutableTable<R, C, V>> toImmutableTable(
              Function<? super T, ? extends R> rowFunction,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

          return buildOrThrow();
        }
    
        private ImmutableMap<K, V> build(boolean throwIfDuplicateKeys) {
          if (valueComparator != null) {
            Collections.sort(entries, Ordering.from(valueComparator).onResultOf(Entry::getValue));
          }
          return fromEntryList(throwIfDuplicateKeys, entries);
        }
    
        public ImmutableMap<K, V> buildOrThrow() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 15:51:42 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

        }
    
        @Override
        public ImmutableSortedMap<K, V> build() {
          return buildOrThrow();
        }
    
        @Override
        public ImmutableSortedMap<K, V> buildOrThrow() {
          SortedMap<K, V> delegate = newModifiableDelegate(comparator);
          for (Entry<? extends K, ? extends V> entry : entries) {
            putEntryWithChecks(delegate, entry);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 16.6K bytes
    - Click Count (0)
Back to Top