Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for immutableEntry (0.08 sec)

  1. guava/src/com/google/common/collect/Maps.java

       */
      @GwtCompatible(serializable = true)
      public static <K extends @Nullable Object, V extends @Nullable Object> Entry<K, V> immutableEntry(
          @ParametricNullness K key, @ParametricNullness V value) {
        return new ImmutableEntry<>(key, value);
      }
    
      /**
       * Returns an unmodifiable view of the specified set of entries. The {@link Entry#setValue}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

    import static com.google.common.cache.TestingRemovalListeners.queuingRemovalListener;
    import static com.google.common.cache.TestingWeighers.constantWeigher;
    import static com.google.common.collect.Maps.immutableEntry;
    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.util.concurrent.MoreExecutors.listeningDecorator;
    import static java.lang.Math.max;
    import static java.lang.Thread.State.WAITING;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/LocalCacheTest.java

    import static com.google.common.cache.TestingRemovalListeners.queuingRemovalListener;
    import static com.google.common.cache.TestingWeighers.constantWeigher;
    import static com.google.common.collect.Maps.immutableEntry;
    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.util.concurrent.MoreExecutors.listeningDecorator;
    import static java.lang.Math.max;
    import static java.lang.Thread.State.WAITING;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Maps.java

       */
      @GwtCompatible(serializable = true)
      public static <K extends @Nullable Object, V extends @Nullable Object> Entry<K, V> immutableEntry(
          @ParametricNullness K key, @ParametricNullness V value) {
        return new ImmutableEntry<>(key, value);
      }
    
      /**
       * Returns an unmodifiable view of the specified set of entries. The {@link Entry#setValue}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/LocalCache.java

        }
    
        @Override
        public boolean removeIf(Predicate<? super Entry<K, V>> filter) {
          checkNotNull(filter);
          return LocalCache.this.removeIf((k, v) -> filter.test(Maps.immutableEntry(k, v)));
        }
    
        @Override
        public boolean contains(Object o) {
          if (!(o instanceof Entry)) {
            return false;
          }
          Entry<?, ?> e = (Entry<?, ?>) o;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
Back to top