Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 54 for ElementSet (0.1 sec)

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

       *
       * <p>A common use for the element set is to find the number of distinct elements in the multiset:
       * {@code elementSet().size()}.
       *
       * @return a view of the set of distinct elements in this multiset
       */
      Set<E> elementSet();
    
      /**
       * Returns a view of the contents of this multiset, grouped into {@code Multiset.Entry} instances,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/UndirectedMultiNetworkConnections.java

      }
    
      @LazyInit private transient @Nullable Reference<Multiset<N>> adjacentNodesReference;
    
      @Override
      public Set<N> adjacentNodes() {
        return Collections.unmodifiableSet(adjacentNodesMultiset().elementSet());
      }
    
      private Multiset<N> adjacentNodesMultiset() {
        Multiset<N> adjacentNodes = getReference(adjacentNodesReference);
        if (adjacentNodes == null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Multiset.java

       *
       * <p>A common use for the element set is to find the number of distinct elements in the multiset:
       * {@code elementSet().size()}.
       *
       * @return a view of the set of distinct elements in this multiset
       */
      Set<E> elementSet();
    
      /**
       * Returns a view of the contents of this multiset, grouped into {@code Multiset.Entry} instances,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

      public static <E extends Comparable<? super E>> ImmutableSortedMultiset<E> of(E e1) {
        RegularImmutableSortedSet<E> elementSet =
            (RegularImmutableSortedSet<E>) ImmutableSortedSet.of(e1);
        long[] cumulativeCounts = {0, 1};
        return new RegularImmutableSortedMultiset<>(elementSet, cumulativeCounts, 0, 1);
      }
    
      /**
       * Returns an immutable sorted multiset containing the given elements sorted by their natural
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

            @Override
            Iterator<Entry<E>> entryIterator() {
              return backingMultiset.descendingMultiset().entrySet().iterator();
            }
          };
        }
    
        @Override
        public NavigableSet<E> elementSet() {
          return new StandardElementSet();
        }
    
        @Override
        public Entry<E> firstEntry() {
          return standardFirstEntry();
        }
    
        @Override
        public Entry<E> lastEntry() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

              parentBuilder) {
        // TODO(lowasser): make a SortedElementSetGenerator
        return SetTestSuiteBuilder.using(
                new ElementSetGenerator<E>(parentBuilder.getSubjectGenerator()))
            .named(getName() + ".elementSet")
            .withFeatures(computeElementSetFeatures(parentBuilder.getFeatures()))
            .suppressing(parentBuilder.getSuppressedTests())
            .createTestSuite();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        } catch (UnsupportedOperationException expected) {
        }
        assertCollectionsAreEquivalent(multiset, copy);
    
        assertCollectionsAreEquivalent(multiset, copy);
    
        assertSetIsUnmodifiable(multiset.elementSet(), sampleElement);
        assertCollectionsAreEquivalent(multiset, copy);
    
        assertSetIsUnmodifiable(
            multiset.entrySet(),
            new Multiset.Entry<E>() {
              @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableCollection.java

     *       ordering is otherwise specified (e.g. {@link ImmutableSortedSet#naturalOrder}). See the
     *       appropriate factory method for details. View collections such as {@link
     *       ImmutableMultiset#elementSet} iterate in the same order as the parent, except as noted.
     *   <li><b>Thread safety.</b> It is safe to access this collection concurrently from multiple
     *       threads.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableCollection.java

     *       ordering is otherwise specified (e.g. {@link ImmutableSortedSet#naturalOrder}). See the
     *       appropriate factory method for details. View collections such as {@link
     *       ImmutableMultiset#elementSet} iterate in the same order as the parent, except as noted.
     *   <li><b>Thread safety.</b> It is safe to access this collection concurrently from multiple
     *       threads.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableMultimap.java

        @Override
        public int count(@Nullable Object element) {
          Collection<V> values = map.get(element);
          return (values == null) ? 0 : values.size();
        }
    
        @Override
        public ImmutableSet<K> elementSet() {
          return keySet();
        }
    
        @Override
        public int size() {
          return ImmutableMultimap.this.size();
        }
    
        @Override
        Multiset.Entry<K> getEntry(int index) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 28.6K bytes
    - Viewed (0)
Back to top