Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 63 for Cooper (0.16 sec)

  1. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

      protected void expectMissingValues(V... elements) {
        for (V element : elements) {
          assertFalse("Should not contain value " + element, getMap().containsValue(element));
        }
      }
    
      /** @return an array of the proper size with {@code null} as the key of the middle element. */
      protected Entry<K, V>[] createArrayWithNullKey() {
        Entry<K, V>[] array = createSamplesArray();
        int nullKeyLocation = getNullLocation();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSortedSet.java

        throw new UnsupportedOperationException();
      }
    
      /**
       * Not supported. <b>You are attempting to create a set that may contain a non-{@code Comparable}
       * element.</b> Proper calls will resolve to the version in {@code ImmutableSortedSet}, not this
       * dummy version.
       *
       * @throws UnsupportedOperationException always
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/HashFunctionEnum.java

      SIP_HASH24(Hashing.sipHash24()),
      FARMHASH_FINGERPRINT_64(Hashing.farmHashFingerprint64()),
    
      // Hash functions found in //javatests for comparing against current implementation of CityHash.
      // These can probably be removed sooner or later.
      ;
    
      private final HashFunction hashFunction;
    
      private HashFunctionEnum(HashFunction hashFunction) {
        this.hashFunction = hashFunction;
      }
    
      HashFunction getHashFunction() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 08 13:56:22 GMT 2021
    - 1.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/FlushablesTest.java

    import static org.mockito.Mockito.verify;
    
    import java.io.Flushable;
    import java.io.IOException;
    import junit.framework.TestCase;
    
    /**
     * Unit tests for {@link Flushables}.
     *
     * <p>Checks proper flushing behavior, and ensures that IOExceptions on Flushable.flush() are not
     * propagated out from the {@link Flushables#flush} method if {@code swallowException} is true.
     *
     * @author Michael Lancaster
     */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/CloseablesTest.java

    import java.io.Closeable;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.Reader;
    import junit.framework.TestCase;
    
    /**
     * Unit tests for {@link Closeables}.
     *
     * <p>Checks proper closing behavior, and ensures that IOExceptions on Closeable.close() are not
     * propagated out from the {@link Closeables#close} method if {@code swallowException} is true.
     *
     * @author Michael Lancaster
     */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     *   <li>remove();
     *   <li>next();
     * </ol>
     *
     * <p>This particular order of operations may be unrealistic, and testing all 3^5 of them may be
     * thought of as overkill; however, it's difficult to determine which proper subset of this massive
     * set would be sufficient to expose any possible bug. Brute force is simpler.
     *
     * <p>To use this class the concrete subclass must implement the {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

        private ArrayWithDuplicate(E[] elements, E duplicate) {
          this.elements = elements;
          this.duplicate = duplicate;
        }
      }
    
      /**
       * @return an array of the proper size with a duplicate element. The size must be at least three.
       */
      protected ArrayWithDuplicate<E> createArrayWithDuplicateElement() {
        E[] elements = createSamplesArray();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

           * ClassNotFoundException thereafter.
           *
           * Android API level 26 and JVM8 both let our Error propagate directly the first time and
           * throw NoClassDefFoundError thereafter. This is the proper behavior according to the spec.
           * See https://docs.oracle.com/javase/specs/jls/se8/html/jls-12.html#jls-12.4.2 (steps #11 and
           * #5).
           *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/StreamsTest.java

    /** Unit test for {@link Streams}. */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class StreamsTest extends TestCase {
      /*
       * Full and proper black-box testing of a Stream-returning method is extremely involved, and is
       * overkill when nearly all Streams are produced using well-tested JDK calls. So, we cheat and
       * just test that the toArray() contents are as expected.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 20K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/OrderingTest.java

        assertSame(a, numberOrdering.max(ints));
        assertSame(a, numberOrdering.min(ints));
      }
    
      public void testVarargsMinAndMax() {
        // try the min and max values in all positions, since some values are proper
        // parameters and others are from the varargs array
        assertEquals(9, (int) numberOrdering.max(9, 3, 0, 5, 8));
        assertEquals(9, (int) numberOrdering.max(5, 9, 0, 3, 8));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
Back to top