Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 103 for multiSeg (0.15 sec)

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

      /**
       * Returns a view of this multiset restricted to the elements greater than {@code lowerBound},
       * optionally including {@code lowerBound} itself. The returned multiset is a view of this
       * multiset, so changes to one will be reflected in the other. The returned multiset supports all
       * operations that this multiset supports.
       *
       * <p>The returned multiset will throw an {@link IllegalArgumentException} on attempts to add
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/SortedMultiset.java

      /**
       * Returns a view of this multiset restricted to the elements greater than {@code lowerBound},
       * optionally including {@code lowerBound} itself. The returned multiset is a view of this
       * multiset, so changes to one will be reflected in the other. The returned multiset supports all
       * operations that this multiset supports.
       *
       * <p>The returned multiset will throw an {@link IllegalArgumentException} on attempts to add
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/SortedMultisets.java

          implements SortedSet<E> {
        @Weak private final SortedMultiset<E> multiset;
    
        ElementSet(SortedMultiset<E> multiset) {
          this.multiset = multiset;
        }
    
        @Override
        final SortedMultiset<E> multiset() {
          return multiset;
        }
    
        @Override
        public Iterator<E> iterator() {
          return Multisets.elementIterator(multiset().entrySet().iterator());
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  4. pkg/controller/endpointslicemirroring/reconciler_helpers.go

    	multiKey := multiAddrTypePortMapKey{}
    
    	for _, addrType := range addrTypes {
    		multiKey[addrType] = newAddrTypePortMapKey(endpointPorts, addrType)
    		if _, ok := d.endpointsByKey[multiKey[addrType]]; !ok {
    			d.endpointsByKey[multiKey[addrType]] = endpointsliceutil.EndpointSet{}
    		}
    		d.portsByKey[multiKey[addrType]] = endpointPorts
    	}
    
    	return multiKey
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 18:08:12 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/SortedMultisets.java

          implements SortedSet<E> {
        @Weak private final SortedMultiset<E> multiset;
    
        ElementSet(SortedMultiset<E> multiset) {
          this.multiset = multiset;
        }
    
        @Override
        final SortedMultiset<E> multiset() {
          return multiset;
        }
    
        @Override
        public Iterator<E> iterator() {
          return Multisets.elementIterator(multiset().entrySet().iterator());
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetFeature.java

    /**
     * Optional features of classes derived from {@link Multiset}.
     *
     * @author Louis Wasserman
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum MultisetFeature implements Feature<Multiset> {
      /**
       * Indicates that elements from {@code Multiset.entrySet()} update to reflect changes in the
       * backing multiset.
       */
      ENTRIES_ARE_VIEWS;
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/HashMultiset.java

       *
       * @param elements the elements that the multiset should contain
       */
      public static <E extends @Nullable Object> HashMultiset<E> create(
          Iterable<? extends E> elements) {
        HashMultiset<E> multiset = create(Multisets.inferDistinctElements(elements));
        Iterables.addAll(multiset, elements);
        return multiset;
      }
    
      private HashMultiset() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/UndirectedMultiNetworkConnections.java

      }
    
      @CheckForNull @LazyInit private transient 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/HashMultiset.java

       *
       * @param elements the elements that the multiset should contain
       */
      public static <E extends @Nullable Object> HashMultiset<E> create(
          Iterable<? extends E> elements) {
        HashMultiset<E> multiset = create(Multisets.inferDistinctElements(elements));
        Iterables.addAll(multiset, elements);
        return multiset;
      }
    
      HashMultiset(int distinctElements) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/EnumMultisetTest.java

        FEMALE
      }
    
      public void testClassCreate() {
        Multiset<Color> ms = EnumMultiset.create(Color.class);
        ms.add(Color.RED);
        ms.add(Color.YELLOW);
        ms.add(Color.RED);
        assertEquals(0, ms.count(Color.BLUE));
        assertEquals(1, ms.count(Color.YELLOW));
        assertEquals(2, ms.count(Color.RED));
      }
    
      public void testCollectionCreate() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 16:35:21 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top