Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 114 for Views (0.06 seconds)

  1. android/guava/src/com/google/common/collect/AbstractMultiset.java

      @Override
      public final boolean retainAll(Collection<?> elementsToRetain) {
        return Multisets.retainAllImpl(this, elementsToRetain);
      }
    
      @Override
      public abstract void clear();
    
      // Views
    
      @LazyInit private transient @Nullable Set<E> elementSet;
    
      @Override
      public Set<E> elementSet() {
        Set<E> result = elementSet;
        if (result == null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Multiset.java

     * the standard collection operations {@link #add(Object)} or {@link #remove(Object)} are encouraged
     * to implement the related methods as well. Finally, two collection views are provided: {@link
     * #elementSet} contains the distinct elements of the multiset "with duplicates collapsed", and
     * {@link #entrySet} is similar but contains {@link Entry Multiset.Entry} instances, each providing
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 20.9K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

          TestSortedSetGenerator<E> delegate, Bound to, Bound from) {
        return using(new NavigableSetSubsetTestSetGenerator<E>(delegate, to, from));
      }
    
      /** Create a suite whose maps are descending views of other maps. */
      private TestSuite createDescendingSuite(
          FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<Collection<E>, E>>
              parentBuilder) {
        TestSetGenerator<E> delegate =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 6.2K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

       * correct, but not that they're actually forwarding correctly. We also rely
       * on the other tests (e.g., SynchronizedSetTest) to verify that the
       * collection views are synchronized correctly.
       */
    
      public void testSize() {
        int unused = create().size();
      }
    
      public void testIsEmpty() {
        boolean unused = create().isEmpty();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 6K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

       * correct, but not that they're actually forwarding correctly. We also rely
       * on the other tests (e.g., SynchronizedSetTest) to verify that the
       * collection views are synchronized correctly.
       */
    
      public void testSize() {
        int unused = create().size();
      }
    
      public void testIsEmpty() {
        boolean unused = create().isEmpty();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 6K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ForwardingSortedMap.java

     *
     * <p>Each of the {@code standard} methods, where appropriate, use the comparator of the map to test
     * equality for both keys and values, unlike {@code ForwardingMap}.
     *
     * <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 Mike Bostock
     * @author Louis Wasserman
     * @since 2.0
     */
    @GwtCompatible
    /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 16:28:01 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/StandardTable.java

     * secondary maps. This class provides rapid access to records by the row key alone or by both keys,
     * but not by just the column key.
     *
     * <p>The views returned by {@link #column}, {@link #columnKeySet()}, and {@link #columnMap()} have
     * iterators that don't support {@code remove()}. Otherwise, all optional operations are supported.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 30.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/Multisets.java

            Iterator<? extends Entry<? extends E>> iterator2 = multiset2.entrySet().iterator();
            // TODO(lowasser): consider making the entries live views
            return new AbstractIterator<Entry<E>>() {
              @Override
              protected @Nullable Entry<E> computeNext() {
                if (iterator1.hasNext()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 41.3K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/Multisets.java

            Iterator<? extends Entry<? extends E>> iterator2 = multiset2.entrySet().iterator();
            // TODO(lowasser): consider making the entries live views
            return new AbstractIterator<Entry<E>>() {
              @Override
              protected @Nullable Entry<E> computeNext() {
                if (iterator1.hasNext()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 41.2K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/LinkedListMultimap.java

     * #entries()}, and {@link #asMap()} return collections that are views of the multimap. If the
     * multimap is modified while an iteration over any of those collections is in progress, except
     * through the iterator's methods, the results of the iteration are undefined.
     *
     * <p>Keys and values may be null. All optional multimap methods are supported, and all returned
     * views are modifiable.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 27K bytes
    - Click Count (0)
Back to Top