Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for copyFor (0.14 sec)

  1. guava-tests/test/com/google/common/cache/LocalCacheTest.java

          List<ReferenceEntry<K, V>> writeOrder) {
        if (map.evictsBySize() || map.expiresAfterAccess()) {
          assertSameEntries(readOrder, ImmutableList.copyOf(segment.accessQueue));
        }
        if (map.expiresAfterWrite()) {
          assertSameEntries(writeOrder, ImmutableList.copyOf(segment.writeQueue));
        }
      }
    
      private static <K, V> void assertSameEntries(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          List<ReferenceEntry<K, V>> writeOrder) {
        if (map.evictsBySize() || map.expiresAfterAccess()) {
          assertSameEntries(readOrder, ImmutableList.copyOf(segment.accessQueue));
        }
        if (map.expiresAfterWrite()) {
          assertSameEntries(writeOrder, ImmutableList.copyOf(segment.writeQueue));
        }
      }
    
      private static <K, V> void assertSameEntries(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Maps.java

      }
    
      /**
       * Creates a <i>mutable</i> {@code HashMap} instance with the same mappings as the specified map.
       *
       * <p><b>Note:</b> if mutability is not required, use {@link ImmutableMap#copyOf(Map)} instead.
       *
       * <p><b>Note:</b> if {@code K} is an {@link Enum} type, use {@link #newEnumMap} instead.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
    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)
  4. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

        private Combiner(boolean allMustSucceed, Iterable<? extends ClosingFuture<?>> inputs) {
          this.allMustSucceed = allMustSucceed;
          this.inputs = ImmutableList.copyOf(inputs);
          for (ClosingFuture<?> input : inputs) {
            input.becomeSubsumedInto(closeables);
          }
        }
    
        /**
    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)
Back to top