Lines Matching full:other
68 * Assign this object to another (make this a copy of 'other').
70 void UVector32::assign(const UVector32& other, UErrorCode &ec) {
71 if (ensureCapacity(other.count, ec)) {
72 setSize(other.count);
73 for (int32_t i=0; i<other.count; ++i) {
74 elements[i] = other.elements[i];
80 UBool UVector32::operator==(const UVector32& other) {
82 if (count != other.count) return FALSE;
84 if (elements[i] != other.elements[i]) {
111 UBool UVector32::containsAll(const UVector32& other) const {
112 for (int32_t i=0; i<other.size(); ++i) {
113 if (indexOf(other.elements[i]) < 0) {
120 UBool UVector32::containsNone(const UVector32& other) const {
121 for (int32_t i=0; i<other.size(); ++i) {
122 if (indexOf(other.elements[i]) >= 0) {
129 UBool UVector32::removeAll(const UVector32& other) {
131 for (int32_t i=0; i<other.size(); ++i) {
132 int32_t j = indexOf(other.elements[i]);
141 UBool UVector32::retainAll(const UVector32& other) {
144 int32_t i = other.indexOf(elements[j]);
166 UBool UVector32::equals(const UVector32 &other) const {
169 if (this->count != other.count) {
173 if (elements[i] != other.elements[i]) {