Lines Matching full:other
92 * Assign this object to another (make this a copy of 'other').
95 void UVector::assign(const UVector& other, UTokenAssigner *assign, UErrorCode &ec) {
96 if (ensureCapacity(other.count, ec)) {
97 setSize(other.count, ec);
99 for (int32_t i=0; i<other.count; ++i) {
103 (*assign)(&elements[i], &other.elements[i]);
110 UBool UVector::operator==(const UVector& other) {
112 if (count != other.count) return FALSE;
116 if (!(*comparer)(elements[i], other.elements[i])) {
193 UBool UVector::containsAll(const UVector& other) const {
194 for (int32_t i=0; i<other.size(); ++i) {
195 if (indexOf(other.elements[i]) < 0) {
202 UBool UVector::containsNone(const UVector& other) const {
203 for (int32_t i=0; i<other.size(); ++i) {
204 if (indexOf(other.elements[i]) >= 0) {
211 UBool UVector::removeAll(const UVector& other) {
213 for (int32_t i=0; i<other.size(); ++i) {
214 int32_t j = indexOf(other.elements[i]);
223 UBool UVector::retainAll(const UVector& other) {
226 int32_t i = other.indexOf(elements[j]);
262 UBool UVector::equals(const UVector &other) const {
265 if (this->count != other.count) {
270 if (elements[i].pointer != other.elements[i].pointer) {
277 key.pointer = &other.elements[i];