class SortedVectorImpl
Defined at line 131 of file ../../third_party/android/platform/system/core/include/utils/VectorImpl.h
Public Methods
void SortedVectorImpl (size_t itemSize, uint32_t flags)
void SortedVectorImpl (const VectorImpl & rhs)
void ~SortedVectorImpl ()
SortedVectorImpl & operator= (const SortedVectorImpl & rhs)
ssize_t indexOf (const void * item)
finds the index of an item
size_t orderOf (const void * item)
finds where this item should be inserted
ssize_t add (const void * item)
add an item in the right place (or replaces it if there is one)
ssize_t merge (const VectorImpl & vector)
merges a vector into this one
ssize_t merge (const SortedVectorImpl & vector)
ssize_t remove (const void * item)
removes an item
Protected Methods
int do_compare (const void * lhs, const void * rhs)