Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 197 for Haddad (0.16 sec)

  1. guava/src/com/google/common/collect/ImmutableBiMap.java

       */
      public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1, K k2, V v2) {
        return RegularImmutableBiMap.fromEntries(entryOf(k1, v1), entryOf(k2, v2));
      }
    
      /**
       * Returns an immutable map containing the given entries, in order.
       *
       * @throws IllegalArgumentException if duplicate keys or values are added
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 22.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableTable.java

         * @throws IllegalArgumentException if duplicate key pairs were added
         */
        public ImmutableTable<R, C, V> build() {
          return buildOrThrow();
        }
    
        /**
         * Returns a newly-created immutable table, or throws an exception if duplicate key pairs were
         * added.
         *
         * @throws IllegalArgumentException if duplicate key pairs were added
         * @since 31.0
         */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 17.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MultimapBuilder.java

       * <p>The collections returned by {@link Multimap#keySet()}, {@link Multimap#keys()}, and {@link
       * Multimap#asMap()} will iterate through the keys in the order that they were first added to the
       * multimap, save that if all values associated with a key are removed and then the key is added
       * back into the multimap, that key will come last in the key iteration order.
       */
      public static MultimapBuilderWithKeys<@Nullable Object> linkedHashKeys() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

        private final ExecutionList executionList = new ExecutionList();
    
        // This allows us to only start up a thread waiting on the delegate future when the first
        // listener is added.
        private final AtomicBoolean hasListeners = new AtomicBoolean(false);
    
        // The delegate future.
        private final Future<V> delegate;
    
        ListenableFutureAdapter(Future<V> delegate) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

      }
    
      /**
       * A special purpose queue/executor that dispatches listener events serially on a configured
       * executor. Each event can be added and dispatched as separate phases.
       *
       * <p>This class is very similar to {@link SequentialExecutor} with the exception that events can
       * be added without necessarily executing immediately.
       */
      private static final class PerListenerQueue<L> implements Runnable {
        final L listener;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ComputationException.java

     * @deprecated This exception is no longer thrown by {@code com.google.common}. Previously, it was
     *     thrown by {@link MapMaker} computing maps. When support for computing maps was removed from
     *     {@code MapMaker}, it was added to {@code CacheBuilder}, which throws {@code
     *     ExecutionException}, {@code UncheckedExecutionException}, and {@code ExecutionError}. Any
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Aug 04 13:28:27 GMT 2021
    - 1.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/CloserTest.java

      }
    
      public void testExceptionThrown_whileClosingLastCloseable() throws IOException {
        Closer closer = new Closer(suppressor);
    
        IOException exception = new IOException();
    
        // c1 is added first, closed last
        TestCloseable c1 = closer.register(TestCloseable.throwsOnClose(exception));
        TestCloseable c2 = closer.register(TestCloseable.normal());
    
        try {
          closer.close();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/NullnessCasts.java

       * there's no way to assign a {@code @Nullable T} to a field {@code T foo;} and instruct the
       * analysis that that means "plain {@code T}" rather than the inferred type {@code @Nullable T}.
       * (Even if supported added {@code @NonNull}, that would not help, since the problem case
       * addressed by this method is the case in which {@code T} has parametric nullness -- and thus its
       * value may be legitimately {@code null}.)
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 12 20:58:36 GMT 2021
    - 3.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/PairedStatsAccumulator.java

    import com.google.common.primitives.Doubles;
    
    /**
     * A mutable object which accumulates paired double values (e.g. points on a plane) and tracks some
     * basic statistics over all the values added so far. This class is not thread safe.
     *
     * @author Pete Gillin
     * @since 20.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class PairedStatsAccumulator {
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/ClusterException.java

       * </ul>
       *
       * <p>Though this method takes any {@link Collection}, it often makes most sense to pass a {@link
       * java.util.List} or some other collection that preserves the order in which the exceptions got
       * added.
       *
       * @throws NullPointerException if {@code exceptions} is null
       * @throws IllegalArgumentException if {@code exceptions} is empty
       */
      static RuntimeException create(Collection<? extends Throwable> exceptions) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 4K bytes
    - Viewed (0)
Back to top