/external/guava/src/com/google/common/collect/ |
ImmutableMultiset.java | 35 * An immutable hash-based multiset. Does not permit null elements. 39 * multiset contains multiple instances of an element, those instances are 47 implements Multiset<E> { 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} 101 Multiset<? extends E> multiset = (elements instanceof Multiset) local 142 Multiset<E> multiset = LinkedHashMultiset.create(); local 284 final ImmutableMultiset<E> multiset; field in class:EntrySet [all...] |
HashMultiset.java | 28 * Multiset implementation backed by a {@link HashMap}. 59 * @param elements the elements that the multiset should contain 62 HashMultiset<E> multiset = local 64 Iterables.addAll(multiset, elements); 65 return multiset;
|
LinkedHashMultiset.java | 28 * A {@code Multiset} implementation with predictable iteration order. Its 30 * element was added. When the multiset contains multiple instances of an 33 * the multiset, the element will appear at the end of the iteration. 65 * @param elements the elements that the multiset should contain 69 LinkedHashMultiset<E> multiset = local 71 Iterables.addAll(multiset, elements); 72 return multiset;
|
EnumMultiset.java | 30 * Multiset implementation backed by an {@link EnumMap}. 46 * @param elements the elements that the multiset should contain 54 EnumMultiset<E> multiset local 56 Iterables.addAll(multiset, elements); 57 return multiset;
|
Serialization.java | 42 * Reads a count corresponding to a serialized map, multiset, or multimap. It 45 * multiset serialized by {@link 46 * #writeMultiset(Multiset, ObjectOutputStream)}, or the number of distinct 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 o [all...] |
TreeMultiset.java | 35 * A multiset which maintains the ordering of its elements, according to either 43 * resulting multiset will violate the {@link Collection} contract, which it is 55 * Creates a new, empty multiset, sorted according to the elements' natural 56 * order. All elements inserted into the multiset must implement the 60 * the multiset. If the user attempts to add an element to the multiset that 75 * Creates a new, empty multiset, sorted according to the specified 76 * comparator. All elements inserted into the multiset must be <i>mutually 79 * e1} and {@code e2} in the multiset. If the user attempts to add an element 80 * to the multiset that violates this constraint, the {@code add(Object)} cal 102 TreeMultiset<E> multiset = create(); local [all...] |
ConcurrentHashMultiset.java | 39 * A multiset that supports concurrent modifications and that provides atomic 40 * versions of most {@code Multiset} operations (exceptions where noted). Null 82 * @param elements the elements that the multiset should contain 86 ConcurrentHashMultiset<E> multiset = ConcurrentHashMultiset.create(); local 87 Iterables.addAll(multiset, elements); 88 return multiset; 98 * @param countMap backing map for storing the elements in the multiset and 111 * Returns the number of occurrences of {@code element} in this multiset. 129 * <p>If the data in the multiset is modified by any other threads during this 160 for (Multiset.Entry<E> entry : entrySet()) [all...] |
Multisets.java | 35 * Multiset} instances. 46 * 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 [all...] |
Synchronized.java | 476 * 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( method in class:Synchronized [all...] |
/external/stlport/stlport/stl/ |
_config_compat_post.h | 42 # define __multiset__ multiset
|
_set.h | 216 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(_InputIterator __first, _InputIterator __last 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...] |
/ndk/sources/android/stlport/stlport/stl/ |
_config_compat_post.h | 42 # define __multiset__ multiset
|
_set.h | 216 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(_InputIterator __first, _InputIterator __last 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/eh/ |
bug.cpp | 28 std::multiset<int*,compare> m;
|
test_set.cpp | 22 # include <multiset.h>
|
/external/stlport/test/unit/ |
mvctor_declaration_test.cpp | 152 struct __move_traits<multiset<specially_allocated_struct> > { 291 //associative containers, set multiset, map, multimap: 310 //multiset 311 CPPUNIT_ASSERT( is_movable(multiset<char>()) ); 312 CPPUNIT_ASSERT( is_movable(multiset<specially_allocated_struct>()) ); 314 CPPUNIT_ASSERT( is_move_complete(multiset<char>()) ); 315 CPPUNIT_ASSERT( !is_move_complete(multiset<specially_allocated_struct>()) ); 317 CPPUNIT_ASSERT( !is_move_complete(multiset<char>()) );
|
multiset_test.cpp | 15 typedef multiset<int, less<int> > mset; 76 //Check const_iterator on a mutable multiset 89 //Check const_iterator on a const multiset 105 typedef multiset<int, fn_type, allocator<int> > fn_mset;
|
set_test.cpp | 443 typedef multiset<Key, KeyCmp> KeySet; 467 typedef multiset<Key const volatile*, KeyCmpPtr> KeySet; 503 multiset<IncompleteClass> minstances; 504 typedef multiset<IncompleteClass>::iterator mit;
|
ptrspec_test.cpp | 62 TEST_INSTANCIATE_CONTAINER(multiset); variable
|
/ndk/sources/android/stlport/test/unit/ |
mvctor_declaration_test.cpp | 152 struct __move_traits<multiset<specially_allocated_struct> > { 291 //associative containers, set multiset, map, multimap: 310 //multiset 311 CPPUNIT_ASSERT( is_movable(multiset<char>()) ); 312 CPPUNIT_ASSERT( is_movable(multiset<specially_allocated_struct>()) ); 314 CPPUNIT_ASSERT( is_move_complete(multiset<char>()) ); 315 CPPUNIT_ASSERT( !is_move_complete(multiset<specially_allocated_struct>()) ); 317 CPPUNIT_ASSERT( !is_move_complete(multiset<char>()) );
|
multiset_test.cpp | 15 typedef multiset<int, less<int> > mset; 76 //Check const_iterator on a mutable multiset 89 //Check const_iterator on a const multiset 105 typedef multiset<int, fn_type, allocator<int> > fn_mset;
|
set_test.cpp | 443 typedef multiset<Key, KeyCmp> KeySet; 467 typedef multiset<Key const volatile*, KeyCmpPtr> KeySet; 503 multiset<IncompleteClass> minstances; 504 typedef multiset<IncompleteClass>::iterator mit;
|
ptrspec_test.cpp | 62 TEST_INSTANCIATE_CONTAINER(multiset); variable
|
/external/stlport/stlport/stl/pointers/ |
_set.h | 304 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(const value_type* __first, const value_type* __last 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...] |
/ndk/sources/android/stlport/stlport/stl/pointers/ |
_set.h | 304 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(const value_type* __first, const value_type* __last 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...] |