OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:distinctElements
(Results
1 - 3
of
3
) sorted by null
/external/guava/src/com/google/common/collect/
HashMultiset.java
49
* @param
distinctElements
the expected number of distinct elements
50
* @throws IllegalArgumentException if {@code
distinctElements
} is negative
52
public static <E> HashMultiset<E> create(int
distinctElements
) {
53
return new HashMultiset<E>(
distinctElements
);
72
private HashMultiset(int
distinctElements
) {
73
super(new HashMap<E, AtomicInteger>(Maps.capacity(
distinctElements
)));
88
int
distinctElements
= Serialization.readCount(stream);
90
Maps.<E, AtomicInteger>newHashMapWithExpectedSize(
distinctElements
));
91
Serialization.populateMultiset(this, stream,
distinctElements
);
LinkedHashMultiset.java
55
* @param
distinctElements
the expected number of distinct elements
56
* @throws IllegalArgumentException if {@code
distinctElements
} is negative
58
public static <E> LinkedHashMultiset<E> create(int
distinctElements
) {
59
return new LinkedHashMultiset<E>(
distinctElements
);
79
private LinkedHashMultiset(int
distinctElements
) {
81
super(new LinkedHashMap<E, AtomicInteger>(Maps.capacity(
distinctElements
)));
96
int
distinctElements
= Serialization.readCount(stream);
98
Maps.capacity(
distinctElements
)));
99
Serialization.populateMultiset(this, stream,
distinctElements
);
Serialization.java
131
int
distinctElements
= stream.readInt();
132
populateMultiset(multiset, stream,
distinctElements
);
142
Multiset<E> multiset, ObjectInputStream stream, int
distinctElements
)
144
for (int i = 0; i <
distinctElements
; i++) {
Completed in 1507 milliseconds