Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 573 for views (0.13 sec)

  1. guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

                      CollectionFeature.ALLOWS_NULL_QUERIES,
                      CollectionFeature.RESTRICTS_ELEMENTS,
                      CollectionFeature.KNOWN_ORDER,
                      CollectionFeature.SERIALIZABLE_INCLUDING_VIEWS)
                  .createTestSuite());
        }
        suite.addTestSuite(ImmutableIntArrayTest.class);
        return suite;
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only from suite
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 20.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

                      CollectionFeature.ALLOWS_NULL_QUERIES,
                      CollectionFeature.RESTRICTS_ELEMENTS,
                      CollectionFeature.KNOWN_ORDER,
                      CollectionFeature.SERIALIZABLE_INCLUDING_VIEWS)
                  .createTestSuite());
        }
        suite.addTestSuite(ImmutableDoubleArrayTest.class);
        return suite;
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only from suite
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/AbstractBiMap.java

        }
      }
    
      @Override
      public void clear() {
        delegate.clear();
        inverse.delegate.clear();
      }
    
      // Views
    
      @Override
      public BiMap<V, K> inverse() {
        return inverse;
      }
    
      @LazyInit @CheckForNull private transient Set<K> keySet;
    
      @Override
      public Set<K> keySet() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 14.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ForwardingNavigableMap.java

     * not consistent with equals, some of the standard implementations may violate the {@code Map}
     * contract.
     *
     * <p>The {@code standard} methods and the collection views they return are not guaranteed to be
     * thread-safe, even when all of the methods that they depend on are thread-safe.
     *
     * @author Louis Wasserman
     * @since 12.0
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 15 18:11:44 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/BloomFilterTest.java

    import java.util.Random;
    import java.util.concurrent.TimeUnit;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for SimpleGenericBloomFilter and derived BloomFilter views.
     *
     * @author Dimitris Andreou
     */
    public class BloomFilterTest extends TestCase {
      private static final int NUM_PUTS = 100_000;
      private static final ThreadLocal<Random> random =
          new ThreadLocal<Random>() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  6. android/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.
       *
       * <pre>{@code
       * NavigableSet<E> set = synchronizedNavigableSet(new TreeSet<E>());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableMultimap.java

     * source of bugs and confusion.
     *
     * <p><b>Note:</b> every {@link ImmutableMultimap} offers an {@link #inverse} view, so there is no
     * need for a distinct {@code ImmutableBiMultimap} type.
     *
     * <p><a id="iteration"></a>
     *
     * <p><b>Key-grouped iteration.</b> All view collections follow the same iteration order. In all
     * current implementations, the iteration order always keeps multiple entries with the same key
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 24.7K bytes
    - Viewed (0)
  8. 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;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        // wait for entries to expire, but don't call expireEntries
        ticker.advance(EXPIRING_TIME * 10, MILLISECONDS);
    
        // add a single unexpired entry
        cache.getUnchecked(KEY_PREFIX + 11);
    
        // collections views shouldn't expose expired entries
        assertEquals(1, Iterators.size(cache.asMap().entrySet().iterator()));
        assertEquals(1, Iterators.size(cache.asMap().keySet().iterator()));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 18.7K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

            }
          }
          if (oldCount == 0) {
            return countMap.putIfAbsent(element, newCount) == null;
          }
          return countMap.replace(element, oldCount, newCount);
        }
    
        // Views
    
        @Override
        Set<E> createElementSet() {
          final Set<E> delegate = countMap.keySet();
          return new ForwardingSet<E>() {
            @Override
            protected Set<E> delegate() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 16.6K bytes
    - Viewed (0)
Back to top