Searched refs:distinctElements (Results 1 – 3 of 3) sorted by relevance
/external/guava/src/com/google/common/collect/ |
D | HashMultiset.java | 52 public static <E> HashMultiset<E> create(int distinctElements) { in create() argument 53 return new HashMultiset<E>(distinctElements); in create() 72 private HashMultiset(int distinctElements) { in HashMultiset() argument 73 super(new HashMap<E, AtomicInteger>(Maps.capacity(distinctElements))); in HashMultiset() 88 int distinctElements = Serialization.readCount(stream); in readObject() local 90 Maps.<E, AtomicInteger>newHashMapWithExpectedSize(distinctElements)); in readObject() 91 Serialization.populateMultiset(this, stream, distinctElements); in readObject()
|
D | LinkedHashMultiset.java | 58 public static <E> LinkedHashMultiset<E> create(int distinctElements) { in create() argument 59 return new LinkedHashMultiset<E>(distinctElements); in create() 79 private LinkedHashMultiset(int distinctElements) { in LinkedHashMultiset() argument 81 super(new LinkedHashMap<E, AtomicInteger>(Maps.capacity(distinctElements))); in LinkedHashMultiset() 96 int distinctElements = Serialization.readCount(stream); in readObject() local 98 Maps.capacity(distinctElements))); in readObject() 99 Serialization.populateMultiset(this, stream, distinctElements); in readObject()
|
D | Serialization.java | 131 int distinctElements = stream.readInt(); in populateMultiset() local 132 populateMultiset(multiset, stream, distinctElements); in populateMultiset() 142 Multiset<E> multiset, ObjectInputStream stream, int distinctElements) in populateMultiset() argument 144 for (int i = 0; i < distinctElements; i++) { in populateMultiset()
|