Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for populateMultiset (0.16 sec)

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

       * #writeMultiset} for the data format.
       */
      static <E extends @Nullable Object> void populateMultiset(
          Multiset<E> multiset, ObjectInputStream stream) throws IOException, ClassNotFoundException {
        int distinctElements = stream.readInt();
        populateMultiset(multiset, stream, distinctElements);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Serialization.java

       * #writeMultiset} for the data format.
       */
      static <E extends @Nullable Object> void populateMultiset(
          Multiset<E> multiset, ObjectInputStream stream) throws IOException, ClassNotFoundException {
        int distinctElements = stream.readInt();
        populateMultiset(multiset, stream, distinctElements);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/HashMultiset.java

        stream.defaultReadObject();
        int distinctElements = Serialization.readCount(stream);
        setBackingMap(Maps.<E, Count>newHashMap());
        Serialization.populateMultiset(this, stream, distinctElements);
      }
    
      @GwtIncompatible // Not needed in emulated source.
      @J2ktIncompatible
      private static final long serialVersionUID = 0;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/LinkedHashMultiset.java

        stream.defaultReadObject();
        int distinctElements = Serialization.readCount(stream);
        setBackingMap(new LinkedHashMap<E, Count>());
        Serialization.populateMultiset(this, stream, distinctElements);
      }
    
      @GwtIncompatible // not needed in emulated source
      @J2ktIncompatible
      private static final long serialVersionUID = 0;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

        stream.defaultReadObject();
        int distinctElements = Serialization.readCount(stream);
        backingMap = newBackingMap(ObjectCountHashMap.DEFAULT_SIZE);
        Serialization.populateMultiset(this, stream, distinctElements);
      }
    
      @GwtIncompatible // Not needed in emulated source.
      @J2ktIncompatible
      private static final long serialVersionUID = 0;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/EnumMultiset.java

        Class<E> localType = (Class<E>) requireNonNull(stream.readObject());
        type = localType;
        enumConstants = type.getEnumConstants();
        counts = new int[enumConstants.length];
        Serialization.populateMultiset(this, stream);
      }
    
      @GwtIncompatible // Not needed in emulated source
      private static final long serialVersionUID = 0;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/EnumMultiset.java

        Class<E> localType = (Class<E>) requireNonNull(stream.readObject());
        type = localType;
        enumConstants = type.getEnumConstants();
        counts = new int[enumConstants.length];
        Serialization.populateMultiset(this, stream);
      }
    
      @GwtIncompatible // Not needed in emulated source
      private static final long serialVersionUID = 0;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TreeMultiset.java

        AvlNode<E> header = new AvlNode<>();
        Serialization.getFieldSetter(TreeMultiset.class, "header").set(this, header);
        successor(header, header);
        Serialization.populateMultiset(this, stream);
      }
    
      @GwtIncompatible // not needed in emulated source
      @J2ktIncompatible
      private static final long serialVersionUID = 1;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/TreeMultiset.java

        AvlNode<E> header = new AvlNode<>();
        Serialization.getFieldSetter(TreeMultiset.class, "header").set(this, header);
        successor(header, header);
        Serialization.populateMultiset(this, stream);
      }
    
      @GwtIncompatible // not needed in emulated source
      @J2ktIncompatible
      private static final long serialVersionUID = 1;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 34.6K bytes
    - Viewed (0)
Back to top