Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for 1040 (0.19 sec)

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

        verifySetContents(set, EMPTY_COLLECTION);
      }
    
      public void testNewHashSetWithExpectedSizeLarge() {
        HashSet<Integer> set = Sets.newHashSetWithExpectedSize(1000);
        verifySetContents(set, EMPTY_COLLECTION);
      }
    
      public void testNewHashSetFromIterator() {
        HashSet<Integer> set = Sets.newHashSet(SOME_COLLECTION.iterator());
        verifySetContents(set, SOME_COLLECTION);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

       *
       * <p>This method is likely to be deprecated. Prefer to override {@link #afterDone}, consulting
       * {@link #wasInterrupted} to decide whether to interrupt your task.
       *
       * @since 10.0
       */
      protected void interruptTask() {}
    
      /**
       * Returns true if this future was cancelled with {@code mayInterruptIfRunning} set to {@code
       * true}.
       *
       * @since 14.0
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

                  }
                },
                executor);
        assertThat(getFinalValue(closingFuture)).isEqualTo(mockCloseable);
        waitUntilClosed(closingFuture);
        verify(mockCloseable, timeout(1000)).close();
      }
    
      /**
       * Marks the given step final, waits for it to be finished, and returns the value.
       *
       * @throws ExecutionException if the step failed
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Futures.java

       * @param function A Function to transform the results of the provided future to the results of
       *     the returned future.
       * @return A future that returns the result of the transformation.
       * @since 10.0
       */
      @J2ktIncompatible
      @GwtIncompatible // TODO
      public static <I extends @Nullable Object, O extends @Nullable Object> Future<O> lazyTransform(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multimaps.java

          return delegate;
        }
        return new UnmodifiableMultimap<>(delegate);
      }
    
      /**
       * Simply returns its argument.
       *
       * @deprecated no need to use this
       * @since 10.0
       */
      @Deprecated
      public static <K, V> Multimap<K, V> unmodifiableMultimap(ImmutableMultimap<K, V> delegate) {
        return checkNotNull(delegate);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

                  }
                },
                executor);
        assertThat(getFinalValue(closingFuture)).isEqualTo(mockCloseable);
        waitUntilClosed(closingFuture);
        verify(mockCloseable, timeout(1000)).close();
      }
    
      /**
       * Marks the given step final, waits for it to be finished, and returns the value.
       *
       * @throws ExecutionException if the step failed
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 74.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/CacheBuilder.java

     *     normally {@code Object} unless it is constrained by using a method like {@code
     *     #removalListener}. Cache values may not be null.
     * @author Charles Fry
     * @author Kevin Bourrillion
     * @since 10.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class CacheBuilder<K, V> {
      private static final int DEFAULT_INITIAL_CAPACITY = 16;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Iterators.java

          public T next() {
            return iterator.next();
          }
        };
      }
    
      /**
       * Simply returns its argument.
       *
       * @deprecated no need to use this
       * @since 10.0
       */
      @Deprecated
      public static <T extends @Nullable Object> UnmodifiableIterator<T> unmodifiableIterator(
          UnmodifiableIterator<T> iterator) {
        return checkNotNull(iterator);
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Iterators.java

          public T next() {
            return iterator.next();
          }
        };
      }
    
      /**
       * Simply returns its argument.
       *
       * @deprecated no need to use this
       * @since 10.0
       */
      @Deprecated
      public static <T extends @Nullable Object> UnmodifiableIterator<T> unmodifiableIterator(
          UnmodifiableIterator<T> iterator) {
        return checkNotNull(iterator);
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
Back to top