Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 328 for difference (0.15 sec)

  1. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

    import java.util.regex.Pattern;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Generates fresh instances of types that are different from each other (if possible).
     *
     * @author Ben Yu
     */
    @GwtIncompatible
    @J2ktIncompatible
    class FreshValueGenerator {
    
      private static final ImmutableMap<Class<?>, Method> GENERATORS;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Hasher.java

       * char} are hashed directly (in that order). The input must not be updated while this method is
       * in progress.
       *
       * <p><b>Warning:</b> This method will produce different output than most other languages do when
       * running the same hash function on the equivalent input. For cross-language compatibility, use
       * {@link #putString}, usually with a charset of UTF-8. For other use cases, use {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 5.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/package-info.java

     *   <dd>An extension of {@link Multimap} which has order-independent equality and does not allow
     *       duplicate entries; that is, while a key may appear twice in a {@code SetMultimap}, each
     *       must map to a different value. {@code SetMultimap} takes its name from the fact that the
     *       {@linkplain SetMultimap#get collection of values} associated with a given key fulfills the
     *       {@link java.util.Set} contract.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jul 06 16:29:45 GMT 2023
    - 5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

       * invokeAll/invokeAny} throwing RejectedExecutionException, although a subset of the tasks may
       * already have been executed.
       *
       * @since 32.0.0 (taking the place of a method with a different return type from 15.0)
       */
      @Beta
      public static ListeningScheduledExecutorService sameThreadScheduledExecutor() {
        return new SameThreadScheduledExecutorService();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 26 22:04:00 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

        char[] charsB = new char[128];
    
        for (int i = 0; i < charsA.length; i++) {
          if (i < 100) {
            charsA[i] = 'a';
            charsB[i] = 'a';
          } else {
            // Both two-byte characters, but must be different
            charsA[i] = (char) (0x0180 + i);
            charsB[i] = (char) (0x0280 + i);
          }
        }
    
        String stringA = new String(charsA);
        String stringB = new String(charsB);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 15:56:47 GMT 2017
    - 6.2K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/CollectorTester.java

          Collector<T, A, R> collector, BiPredicate<? super R, ? super R> equivalence) {
        this.collector = checkNotNull(collector);
        this.equivalence = checkNotNull(equivalence);
      }
    
      /**
       * Different orderings for combining the elements of an input array, which must all produce the
       * same result.
       */
      enum CollectStrategy {
        /** Get one accumulator and accumulate the elements into it sequentially. */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

          Floats.ensureCapacity(ARRAY1, 1, -1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      @GwtIncompatible // Float.toString returns different value in GWT.
      public void testJoin() {
        assertThat(Floats.join(",", EMPTY)).isEmpty();
        assertThat(Floats.join(",", ARRAY1)).isEqualTo("1.0");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

    import java.util.Arrays;
    import java.util.Collection;
    import java.util.EnumMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    
    /**
     * Generators of different types of map and related collections, such as keys, entries and values.
     *
     * @author Hayward Chan
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class MapGenerators {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

       * escaping for code points if required.
       *
       * <p>Note that arrays returned by this method must not be modified once they have been returned.
       * However it is acceptable to return the same array multiple times (even for different input
       * characters).
       *
       * @param cp the Unicode code point to escape
       * @return the replacement characters, or {@code null} if no escaping was required
       */
      @CheckForNull
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Base class for tests for emulated {@link AbstractFuture} that allow subclasses to swap in a
     * different "source Future" for {@link AbstractFuture#setFuture} calls.
     */
    @GwtCompatible(emulated = true)
    abstract class AbstractAbstractFutureTest extends TestCase {
      private TestedFuture<Integer> future;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 15.5K bytes
    - Viewed (0)
Back to top