Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for AbstractMapBasedMultiset (0.07 sec)

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

     * writeObject} methods.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    abstract class AbstractMapBasedMultiset<E extends @Nullable Object> extends AbstractMultiset<E>
        implements Serializable {
    
      transient ObjectCountHashMap<E> backingMap;
      transient long size;
    
      AbstractMapBasedMultiset(int distinctElements) {
        backingMap = newBackingMap(distinctElements);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 05 23:15:58 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

     *
     * <p>For serialization to work, the subclass must specify explicit {@code readObject} and {@code
     * writeObject} methods.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    abstract class AbstractMapBasedMultiset<E extends @Nullable Object> extends AbstractMultiset<E>
        implements Serializable {
      // TODO(lowasser): consider overhauling this back to Map<E, Integer>
      private transient Map<E, Count> backingMap;
    
      /*
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/LinkedHashMultiset.java

     *
     * @author Kevin Bourrillion
     * @author Jared Levy
     * @since 2.0
     */
    @GwtCompatible
    public final class LinkedHashMultiset<E extends @Nullable Object>
        extends AbstractMapBasedMultiset<E> {
    
      /** Creates a new, empty {@code LinkedHashMultiset} using the default initial capacity. */
      public static <E extends @Nullable Object> LinkedHashMultiset<E> create() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/LinkedHashMultiset.java

     *
     * @author Kevin Bourrillion
     * @author Jared Levy
     * @since 2.0
     */
    @GwtCompatible
    public final class LinkedHashMultiset<E extends @Nullable Object>
        extends AbstractMapBasedMultiset<E> {
    
      /** Creates a new, empty {@code LinkedHashMultiset} using the default initial capacity. */
      public static <E extends @Nullable Object> LinkedHashMultiset<E> create() {
        return new LinkedHashMultiset<>();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 05 23:15:58 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multisets.java

        // It'd be nice if we could specialize for ImmutableMultiset here without also retaining
        // its code when it's not in scope...
        if (elements instanceof AbstractMapBasedMultiset) {
          return addAllImpl(self, (AbstractMapBasedMultiset<? extends E>) elements);
        } else if (elements.isEmpty()) {
          return false;
        } else {
          for (Multiset.Entry<? extends E> entry : elements.entrySet()) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 41.3K bytes
    - Viewed (0)
Back to top