Lines Matching defs:other
66 public boolean intersect(FlagSet other, int bucketIndex) {
67 return (buckets[bucketIndex] & other.buckets[bucketIndex]) != 0;
90 public FlagSet andNot(FlagSet other) {
92 final int min = Math.min(buckets.length, other.buckets.length);
94 result.buckets[i] &= ~(other.buckets[i]);
99 public FlagSet or(FlagSet other) {
100 final FlagSet result = new FlagSet(buckets, other.buckets.length);
101 for (int i = 0; i < other.buckets.length; i ++) {
102 result.buckets[i] |= other.buckets[i];
132 public boolean bitsEqual(FlagSet other) {
133 final int max = Math.max(buckets.length, other.buckets.length);
135 if (getBucket(i) != other.getBucket(i)) {
155 FlagSet other = (FlagSet) obj;
156 if (other.buckets.length != buckets.length) {
160 if (buckets[i] != other.buckets[i]) {