Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 90 for Views (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava/src/com/google/common/cache/CacheBuilder.java

     *           }
     *         });
     * }
     *
     * <p>The returned cache implements all optional operations of the {@link LoadingCache} and {@link
     * Cache} interfaces. The {@code asMap} view (and its collection views) have <i>weakly consistent
     * iterators</i>. This means that they are safe for concurrent use, but if other threads modify the
     * cache after the iterator is created, it is undefined which of these changes, if any, are
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 51.7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

                countMap.remove(element, existingCounter);
              }
              return true;
            }
          }
        }
        return false;
      }
    
      // Views
    
      @Override
      Set<E> createElementSet() {
        Set<E> delegate = countMap.keySet();
        return new ForwardingSet<E>() {
          @Override
          protected Set<E> delegate() {
            return delegate;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/hash/BloomFilterTest.java

    import java.util.stream.Stream;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for SimpleGenericBloomFilter and derived BloomFilter views.
     *
     * @author Dimitris Andreou
     */
    @NullUnmarked
    public class BloomFilterTest extends TestCase {
      private static final int NUM_PUTS = 100_000;
      private static final ThreadLocal<Random> random =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 23K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

                countMap.remove(element, existingCounter);
              }
              return true;
            }
          }
        }
        return false;
      }
    
      // Views
    
      @Override
      Set<E> createElementSet() {
        Set<E> delegate = countMap.keySet();
        return new ForwardingSet<E>() {
          @Override
          protected Set<E> delegate() {
            return delegate;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

       */
      private transient @Nullable ImmutableListMultimap<?, ?> deserializationReplacement;
    
      ImmutableListMultimap(ImmutableMap<K, ImmutableList<V>> map, int size) {
        super(map, size);
      }
    
      // views
    
      /**
       * Returns an immutable list of the values for the given key. If no mappings in the multimap have
       * the provided key, an empty immutable list is returned. The values are in the same order as the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ImmutableMultimap.java

      @Override
      public boolean containsValue(@Nullable Object value) {
        return value != null && super.containsValue(value);
      }
    
      @Override
      public int size() {
        return size;
      }
    
      // views
    
      /**
       * Returns an immutable set of the distinct keys in this multimap, in the same order as they
       * appear in this multimap.
       */
      @Override
      public ImmutableSet<K> keySet() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 28.1K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/ImmutableSetMultimap.java

          ImmutableMap<K, ImmutableSet<V>> map,
          int size,
          @Nullable Comparator<? super V> valueComparator) {
        super(map, size);
        this.emptySet = emptySet(valueComparator);
      }
    
      // views
    
      /**
       * Returns an immutable set of the values for the given key. If no mappings in the multimap have
       * the provided key, an empty immutable set is returned. The values are in the same order as the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 19 22:57:35 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  8. guava/src/com/google/common/base/Converter.java

     * <ul>
     *   <li>Use a provided converter implementation, such as {@link Enums#stringConverter}, {@link
     *       com.google.common.primitives.Ints#stringConverter Ints.stringConverter} or the {@linkplain
     *       #reverse reverse} views of these.
     *   <li>Convert between specific preset values using {@link
     *       com.google.common.collect.Maps#asConverter Maps.asConverter}. For example, use this to
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 18 21:43:06 GMT 2025
    - 22.8K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/Synchronized.java

    import java.util.RandomAccess;
    import java.util.Set;
    import java.util.SortedMap;
    import java.util.SortedSet;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Synchronized collection views. The returned synchronized collection views are serializable if the
     * backing collection and the mutex are serializable.
     *
     * <p>If {@code null} is passed as the {@code mutex} parameter to any of this class's top-level
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Aug 08 15:11:10 GMT 2025
    - 53K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/Sets.java

       * navigable set is accomplished through the returned navigable set (or its views).
       *
       * <p>It is imperative that the user manually synchronize on the returned sorted set when
       * iterating over it or any of its {@code descendingSet}, {@code subSet}, {@code headSet}, or
       * {@code tailSet} views.
       *
       * {@snippet :
       * NavigableSet<E> set = synchronizedNavigableSet(new TreeSet<E>());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 83K bytes
    - Click Count (0)
Back to Top