Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 343 for different (0.17 sec)

  1. android/guava/src/com/google/common/util/concurrent/GwtFuturesCatchingSpecialization.java

     * different signatures.
     */
    @GwtCompatible(emulated = true)
    @J2ktIncompatible // Super-sourced
    @ElementTypesAreNonnullByDefault
    abstract class GwtFuturesCatchingSpecialization {
      /*
       * This server copy of the class is empty. The corresponding GWT copy contains alternative
       * versions of catching() and catchingAsync() with slightly different signatures from the ones
       * found in Futures.java.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Tests our AtomicHelper fallback strategy in AggregateFutureState.
     *
     * <p>On different platforms AggregateFutureState uses different strategies for its core
     * synchronization primitives. The strategies are all implemented as subtypes of AtomicHelper and
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.9K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/GwtFluentFutureCatchingSpecialization.java

     * versions of the {@link FluentFuture#catching(Class, com.google.common.base.Function)
     * FluentFuture.catching} family of methods. Those versions have slightly different signatures.
     */
    @ElementTypesAreNonnullByDefault
    abstract class GwtFluentFutureCatchingSpecialization<V extends @Nullable Object>
        extends AbstractFuture<V> {
      /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 08 20:30:27 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java

        assertFalse(
            "Sets of different sizes should not be equal.",
            getSet().equals(MinimalSet.from(fewerElements)));
      }
    
      public void testEquals_largerSet() {
        Collection<E> moreElements = getSampleElements(getNumElements() + 1);
        assertFalse(
            "Sets of different sizes should not be equal.",
            getSet().equals(MinimalSet.from(moreElements)));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       *     type is matched against the input's exception. "The input's exception" means the cause of
       *     the {@link ExecutionException} thrown by {@code input.get()} or, if {@code get()} throws a
       *     different kind of exception, that exception itself. To avoid hiding bugs and other
       *     unrecoverable errors, callers should prefer more specific types, avoiding {@code
       *     Throwable.class} in particular.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java

        assertFalse(
            "Maps of different sizes should not be equal.", getMap().equals(newHashMap(fewerEntries)));
      }
    
      public void testEquals_largerMap() {
        Collection<Entry<K, V>> moreEntries = getSampleEntries(getNumEntries() + 1);
        assertFalse(
            "Maps of different sizes should not be equal.", getMap().equals(newHashMap(moreEntries)));
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 4.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java

        assertFalse(
            "Maps of different sizes should not be equal.", getMap().equals(newHashMap(fewerEntries)));
      }
    
      public void testEquals_largerMap() {
        Collection<Entry<K, V>> moreEntries = getSampleEntries(getNumEntries() + 1);
        assertFalse(
            "Maps of different sizes should not be equal.", getMap().equals(newHashMap(moreEntries)));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 4.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/CollectionFuture.java

        extends AggregateFuture<V, C> {
      /*
       * We access this field racily but safely. For discussion of a similar situation, see the comments
       * on the fields of TimeoutFuture. This field is slightly different from the fields discussed
       * there: cancel() never reads this field, only writes to it. That makes the race here completely
       * harmless, rather than just 99.99% harmless.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java

        other.add(e0());
        assertFalse("multiset equals a multiset with a different size", getMultiset().equals(other));
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testEquals_differentElements() {
        Multiset<E> other = HashMultiset.create(getSampleElements());
        other.remove(e0());
        other.add(e3());
        assertFalse("multiset equals a multiset with different elements", getMultiset().equals(other));
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3.9K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java

    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.util.ArrayList;
    import java.util.LinkedList;
    
    /**
     * Tests the speed of iteration of different iteration methods for collections.
     *
     * @author David Richter
     */
    public class IteratorBenchmark {
      @Param({"0", "1", "16", "256", "4096", "65536"})
      int size;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.1K bytes
    - Viewed (0)
Back to top