Searched defs:multiset (Results 1 - 8 of 8) sorted by relevance

/external/guava/src/com/google/common/collect/
H A DSerialization.java42 * Reads a count corresponding to a serialized map, multiset, or multimap. It
45 * multiset serialized by {@link
105 * Stores the contents of a multiset in an output stream, as part of
114 Multiset<E> multiset, ObjectOutputStream stream) throws IOException {
115 int entryCount = multiset.entrySet().size();
117 for (Multiset.Entry<E> entry : multiset.entrySet()) {
124 * Populates a multiset by reading an input stream, as part of
129 Multiset<E> multiset, ObjectInputStream stream)
132 populateMultiset(multiset, stream, distinctElements);
136 * Populates a multiset b
113 writeMultiset( Multiset<E> multiset, ObjectOutputStream stream) argument
128 populateMultiset( Multiset<E> multiset, ObjectInputStream stream) argument
141 populateMultiset( Multiset<E> multiset, ObjectInputStream stream, int distinctElements) argument
[all...]
H A DImmutableMultiset.java35 * An immutable hash-based multiset. Does not permit null elements.
39 * multiset contains multiple instances of an element, those instances are
50 * Returns the empty immutable multiset.
60 * Returns an immutable multiset containing the given elements.
62 * <p>The multiset is ordered by the first occurrence of each element. For
63 * example, {@code ImmutableMultiset.of(2, 3, 1, 3)} yields a multiset with
73 * Returns an immutable multiset containing the given elements.
75 * <p>The multiset is ordered by the first occurrence of each element. For
77 * a multiset with elements in the order {@code 2, 3, 3, 1}.
88 * the given multiset itsel
108 copyOfInternal( Multiset<? extends E> multiset) argument
284 final ImmutableMultiset<E> multiset; field in class:ImmutableMultiset.EntrySet
286 EntrySet(ImmutableMultiset<E> multiset) argument
[all...]
H A DMultisets.java46 * Returns an unmodifiable view of the specified multiset. Query operations on
47 * the returned multiset "read through" to the specified multiset, and
48 * attempts to modify the returned multiset result in an
51 * <p>The returned multiset will be serializable if the specified multiset is
54 * @param multiset the multiset for which an unmodifiable view is to be
56 * @return an unmodifiable view of the multiset
59 Multiset<? extends E> multiset) {
58 unmodifiableMultiset( Multiset<? extends E> multiset) argument
[all...]
H A DSynchronized.java476 * Returns a synchronized (thread-safe) multiset backed by the specified
477 * multiset using the specified mutex. In order to guarantee serial access, it
478 * is critical that <b>all</b> access to the backing multiset is accomplished
479 * through the returned multiset.
482 * mutex when iterating over the returned multiset: <pre> {@code
484 * Multiset<E> s = Synchronized.multiset(
496 * @param multiset the multiset to be wrapped
497 * @return a synchronized view of the specified multiset
499 private static <E> Multiset<E> multiset( argument
[all...]
H A DAbstractMultimap.java940 private transient Multiset<K> multiset; field in class:AbstractMultimap
943 Multiset<K> result = multiset;
944 return (result == null) ? multiset = new MultisetView() : result;
/external/stlport/stlport/stl/
H A D_set.h216 class multiset class in inherits:__stlport_class
218 : public __stlport_class<multiset<_Key, _Compare, _Alloc> >
221 typedef multiset<_Key, _Compare, _Alloc> _Self;
253 _Rep_type _M_t; // red-black tree representing multiset
258 explicit multiset(const _Compare& __comp = _Compare(), function in class:multiset
261 multiset()
263 explicit multiset(const _Compare& __comp)
265 multiset(const _Compare& __comp, const allocator_type& __a)
271 multiset(_InputIterator __first, _InputIterator __last) function in class:multiset
276 multiset(_InputIterato function in class:multiset
282 multiset(_InputIterator __first, _InputIterator __last, function in class:multiset
287 multiset(const value_type* __first, const value_type* __last) function in class:multiset
291 multiset(const value_type* __first, const value_type* __last, function in class:multiset
296 multiset(const_iterator __first, const_iterator __last) function in class:multiset
300 multiset(const_iterator __first, const_iterator __last, function in class:multiset
306 multiset(const _Self& __x) : _M_t(__x._M_t) {} function in class:multiset
313 multiset(__move_source<_Self> src) function in class:multiset
[all...]
/external/stlport/test/unit/
H A Dptrspec_test.cpp62 TEST_INSTANCIATE_CONTAINER(multiset); variable
/external/stlport/stlport/stl/pointers/
H A D_set.h304 class multiset class in inherits:__stlport_class
306 : public __stlport_class<multiset<_Key, _Compare, _Alloc> >
320 typedef multiset<_Key, _Compare, _Alloc> _Self;
360 _Rep_type _M_t; // red-black tree representing multiset
376 multiset() : _M_t(_Compare(), _StorageTypeAlloc()) {} function in class:multiset
377 explicit multiset(const _Compare& __comp, function in class:multiset
383 multiset(_InputIterator __first, _InputIterator __last) function in class:multiset
395 multiset(_InputIterator __first, _InputIterator __last, function in class:multiset
407 multiset(_InputIterator __first, _InputIterator __last, function in class:multiset
420 multiset(cons function in class:multiset
426 multiset(const value_type* __first, const value_type* __last, function in class:multiset
434 multiset(const_iterator __first, const_iterator __last) function in class:multiset
438 multiset(const_iterator __first, const_iterator __last, function in class:multiset
445 multiset(const _Self& __x) function in class:multiset
454 multiset(__move_source<_Self> src) function in class:multiset
[all...]

Completed in 24 milliseconds