Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 61 for Parameters (0.14 sec)

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

     * This communicates to your callers all of the semantic guarantees listed above, which is almost
     * always very useful information.
     *
     * <p>On the other hand, a <i>parameter</i> type of {@link ImmutableList} is generally a nuisance to
     * callers. Instead, accept {@link Iterable} and have your method or constructor body pass it to the
     * appropriate {@code copyOf} method itself.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 18.7K bytes
    - Viewed (1)
  2. android/guava/src/com/google/common/hash/BloomFilter.java

       * true} for an object that has not actually been put in the {@code BloomFilter}.
       *
       * <p>Ideally, this number should be close to the {@code fpp} parameter passed in {@linkplain
       * #create(Funnel, int, double)}, or smaller. If it is significantly higher, it is usually the
       * case that too many elements (more than expected) have been put in the {@code BloomFilter},
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        assertThat(set).containsExactly("a", "b", "c", "d", "e", "f").inOrder();
      }
    
      /*
       * Tests that we workaround GWT bug #3621 (or that it is already fixed).
       *
       * A call to of() with a parameter that is not a plain Object[] (here,
       * Interface[]) creates a RegularImmutableSortedSet backed by an array of that
       * type. Later, RegularImmutableSortedSet.toArray() calls System.arraycopy()
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 45.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

         * {@code Closeable} with a method reference like {@code cursor::close}.
         *
         * <p>Note that this method is still binary-compatible between flavors because the erasure of
         * its parameter type is {@code Object}, not {@code AutoCloseable} or {@code Closeable}.
         *
         * @param closeable the object to be closed (see notes above)
         * @param closingExecutor the object will be closed on this executor
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Maps.java

       */
      public static <C extends @Nullable Object, K extends C, V extends @Nullable Object>
          TreeMap<K, V> newTreeMap(@CheckForNull Comparator<C> comparator) {
        // Ideally, the extra type parameter "C" shouldn't be necessary. It is a
        // work-around of a compiler type inference quirk that prevents the
        // following code from being compiled:
        // Comparator<Class<?>> comparator = null;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Suppliers.java

    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Useful suppliers.
     *
     * <p>All methods return serializable suppliers as long as they're given serializable parameters.
     *
     * @author Laurence Gonsalves
     * @author Harry Heymann
     * @since 2.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Suppliers {
      private Suppliers() {}
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

          TestMultimapGenerator<K, V, M> generator) {
        return new MultimapTestSuiteBuilder<K, V, M>().usingGenerator(generator);
      }
    
      // Class parameters must be raw.
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
        return ImmutableList.<Class<? extends AbstractTester>>of(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/AbstractNetwork.java

     *
     * <p>The methods implemented in this class should not be overridden unless the subclass admits a
     * more efficient implementation.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     * @param <E> Edge parameter type
     * @since 20.0
     */
    @Beta
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractNetwork<N, E> implements Network<N, E> {
      @Override
      public Graph<N> asGraph() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 13 18:17:09 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Equivalence.java

     *     source-compatible</a> since 4.0)
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    /*
     * The type parameter is <T> rather than <T extends @Nullable> so that we can use T in the
     * doEquivalent and doHash methods to indicate that the parameter cannot be null.
     */
    public abstract class Equivalence<T> implements BiPredicate<@Nullable T, @Nullable T> {
      /** Constructor for use by subclasses. */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Equivalence.java

     *     source-compatible</a> since 4.0)
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    /*
     * The type parameter is <T> rather than <T extends @Nullable> so that we can use T in the
     * doEquivalent and doHash methods to indicate that the parameter cannot be null.
     */
    public abstract class Equivalence<T>
    {
      /** Constructor for use by subclasses. */
      protected Equivalence() {}
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
Back to top