Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for Cooper (0.15 sec)

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

        extends AbstractContainerTester<M, Entry<K, V>> {
    
      private M multimap;
    
      protected M multimap() {
        return multimap;
      }
    
      /**
       * @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
    - 6K bytes
    - Viewed (0)
  2. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

     * application-specific ordering in addition to performing general cycle detection.
     *
     * <p><strong>Garbage Collection</strong>
     *
     * <p>In order to allow proper garbage collection of unused locks, the edges of the lock graph are
     * weak references.
     *
     * <p><strong>Performance</strong>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        throw new UnsupportedOperationException();
      }
    
      /**
       * Not supported. <b>You are attempting to create a map that may contain a non-{@code Comparable}
       * key.</b> Proper calls will resolve to the version in {@code ImmutableSortedMap}, not this dummy
       * version.
       *
       * @throws UnsupportedOperationException always
       * @deprecated <b>Pass a key of type {@code Comparable} to use {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  5. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java

        return collection;
      }
    
      /** @see AbstractContainerTester#resetContainer() */
      protected void resetCollection() {
        resetContainer();
      }
    
      /** @return an array of the proper size with {@code null} inserted into the middle element. */
      protected E[] createArrayWithNullElement() {
        E[] array = createSamplesArray();
        array[getNullLocation()] = null;
        return array;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/ValueGraphTest.java

    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /** Tests for {@link StandardMutableValueGraph} and related functionality. */
    // TODO(user): Expand coverage and move to proper test suite.
    @RunWith(JUnit4.class)
    public final class ValueGraphTest {
      private static final String DEFAULT = "default";
    
      MutableValueGraph<Integer, String> graph;
    
      @After
      public void validateGraphState() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 20K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/Hashing.java

        return new ConcatenatedHashFunction(hashFunctions);
      }
    
      /**
       * Used to randomize {@link #goodFastHash} instances, so that programs which persist anything
       * dependent on the hash codes they produce will fail sooner.
       */
      @SuppressWarnings("GoodTime") // reading system time without TimeSource
      static final int GOOD_FAST_HASH_SEED = (int) System.currentTimeMillis();
    
      /**
       * Returns a hash function implementing the <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableSortedMap.java

        throw new UnsupportedOperationException();
      }
    
      /**
       * Not supported. <b>You are attempting to create a map that may contain a non-{@code Comparable}
       * key.</b> Proper calls will resolve to the version in {@code ImmutableSortedMap}, not this dummy
       * version.
       *
       * @throws UnsupportedOperationException always
       * @deprecated <b>Pass a key of type {@code Comparable} to use {@link
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

       * bug where the loop that connects a Listener to each of the futures would die on the last
       * loop-check as done() on ListFuture nulled out the variable being looped over (the list of
       * futures).
       */
      public void testAllAsList_doneFutures() throws Exception {
        // Create input and output
        SettableFuture<String> future1 = SettableFuture.create();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
Back to top