Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 178 for multiSeg (0.16 sec)

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

        return Collector.of(
            () -> TreeMultiset.create(comparator),
            (multiset, t) -> mapAndAdd(t, multiset, elementFunction, countFunction),
            (multiset1, multiset2) -> {
              multiset1.addAll(multiset2);
              return multiset1;
            },
            (Multiset<E> multiset) -> copyOfSortedEntries(comparator, multiset.entrySet()));
      }
    
      @SuppressWarnings({"AndroidJdkLibsChecker", "Java7ApiChecker"})
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 35.5K bytes
    - Viewed (0)
  2. 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)
  3. android/guava/src/com/google/common/collect/ImmutableMultiset.java

      @GwtIncompatible
      @J2ktIncompatible
      static class EntrySetSerializedForm<E> implements Serializable {
        final ImmutableMultiset<E> multiset;
    
        EntrySetSerializedForm(ImmutableMultiset<E> multiset) {
          this.multiset = multiset;
        }
    
        Object readResolve() {
          return multiset.entrySet();
        }
      }
    
      @GwtIncompatible
      @J2ktIncompatible
      @Override
      abstract Object writeReplace();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

       *
       * @param multiset the presumed-immutable multiset
       * @param sampleElement an element of the same type as that contained by {@code multiset}. {@code
       *     multiset} may or may not have {@code sampleElement} as a member.
       */
      public static <E extends @Nullable Object> void assertMultisetIsUnmodifiable(
          Multiset<E> multiset, E sampleElement) {
        Multiset<E> copy = LinkedHashMultiset.create(multiset);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 20:31:37 UTC 2024
    - 14.7K 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/src/com/google/common/collect/ImmutableMultiset.java

        Multiset<E> multiset = LinkedHashMultiset.create();
        Iterators.addAll(multiset, elements);
        return copyFromEntries(multiset.entrySet());
      }
    
      private static <E> ImmutableMultiset<E> copyFromElements(E... elements) {
        Multiset<E> multiset = LinkedHashMultiset.create();
        Collections.addAll(multiset, elements);
        return copyFromEntries(multiset.entrySet());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 20.6K bytes
    - Viewed (0)
Back to top