/external/caliper/caliper/src/main/java/com/google/caliper/model/ |
InstrumentSpec.java | 67 InstrumentSpec that = (InstrumentSpec) obj; local 68 return this.className.equals(that.className) 69 && this.options.equals(that.options);
|
Trial.java | 85 Trial that = (Trial) obj; local 86 return this.id.equals(that.id) 87 && this.run.equals(that.run) 88 && this.instrumentSpec.equals(that.instrumentSpec) 89 && this.scenario.equals(that.scenario) 90 && this.measurements.equals(that.measurements);
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/ |
ParameterizedTypeName.java | 73 ParameterizedTypeName that = (ParameterizedTypeName) obj; local 74 return this.type.equals(that.type) 75 && this.parameters.equals(that.parameters);
|
TypeVariableName.java | 77 TypeVariableName that = (TypeVariableName) obj; local 78 return this.name.toString().equals(that.name.toString()) 79 && this.extendsBounds.equals(that.extendsBounds); 97 // code with type variables that include upper or lower bounds.
|
/external/guava/guava/src/com/google/common/cache/ |
RemovalNotification.java | 82 Entry<?, ?> that = (Entry<?, ?>) object; local 83 return Objects.equal(this.getKey(), that.getKey()) 84 && Objects.equal(this.getValue(), that.getValue());
|
/external/guava/guava/src/com/google/common/collect/ |
EmptyImmutableSet.java | 74 Set<?> that = (Set<?>) object; local 75 return that.isEmpty();
|
EmptyImmutableSortedSet.java | 82 Set<?> that = (Set<?>) object; local 83 return that.isEmpty();
|
SingletonImmutableList.java | 84 List<?> that = (List<?>) object; local 85 return that.size() == 1 && element.equals(that.get(0)); 92 // in a way that modifies its hash code.
|
/external/guava/guava/src/com/google/common/eventbus/ |
EventSubscriber.java | 35 * same object (not class). This property is used to ensure that no subscriber 68 * {@link Throwable} that is not an {@link Error} ({@code Error} instances are 99 EventSubscriber that = (EventSubscriber) obj; local 100 // Use == so that different equal instances will still receive events. 101 // We only guard against the case that the same object is registered 103 return target == that.target && method.equals(that.method);
|
/external/guava/guava/src/com/google/common/reflect/ |
Parameter.java | 60 /** Returns the {@link Invokable} that declares this parameter. */ 127 Parameter that = (Parameter) obj; local 128 return position == that.position && declaration.equals(that.declaration);
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
EmptyContiguousSet.java | 94 Set<?> that = (Set<?>) object; local 95 return that.isEmpty();
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/features/ |
TesterRequirements.java | 26 * Encapsulates the constraints that a class under test must satisfy in order 27 * for a tester method to be run against that class. 64 TesterRequirements that = (TesterRequirements) object; local 65 return this.presentFeatures.equals(that.presentFeatures) 66 && this.absentFeatures.equals(that.absentFeatures);
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
DummyProxy.java | 36 * Generates a dummy interface proxy that simply returns a dummy value for each method. 44 * other if the {@link DummyProxy} instance that created the proxies are equal. 89 DummyHandler that = (DummyHandler) obj; local 90 return identity().equals(that.identity());
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
StringCharacterIterator.java | 12 // StringCharacterIterator has a bug that prevents it from working 96 * method is used by other java.text classes that want to avoid allocating 258 StringCharacterIterator that = (StringCharacterIterator) obj; local 260 if (hashCode() != that.hashCode()) { 263 if (!text.equals(that.text)) { 266 if (pos != that.pos || begin != that.begin || end != that.end) {
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
ByteArrayWrapper.java | 100 * Ensure that the internal byte array is at least of length capacity. 205 ByteArrayWrapper that = (ByteArrayWrapper)other; local 206 if (size != that.size) return false; 208 if (bytes[i] != that.bytes[i]) return false;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
StringCharacterIterator.java | 11 // StringCharacterIterator has a bug that prevents it from working 94 * method is used by other java.text classes that want to avoid allocating 256 StringCharacterIterator that = (StringCharacterIterator) obj; local 258 if (hashCode() != that.hashCode()) { 261 if (!text.equals(that.text)) { 264 if (pos != that.pos || begin != that.begin || end != that.end) {
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
ByteArrayWrapper.java | 104 * Ensure that the internal byte array is at least of length capacity. 215 ByteArrayWrapper that = (ByteArrayWrapper)other; local 216 if (size != that.size) return false; 218 if (bytes[i] != that.bytes[i]) return false;
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/ |
SLConfigDescriptor.java | 106 SLConfigDescriptor that = (SLConfigDescriptor) o;
local 108 if (predefined != that.predefined) {
|
/external/nist-sip/java/gov/nist/core/ |
HostPort.java | 67 * Note that this could be different from the string that has 91 HostPort that = (HostPort) other; local 92 return port == that.port && host.equals(that.host);
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
RequestLine.java | 48 /** uri field. Note that this can be a SIP URI or a generic URI 187 *@param other object to compare with. We assume that all fields 195 RequestLine that = (RequestLine) other; local 198 this.method.equals(that.method) 199 && this.uri.equals(that.uri) 200 && this.sipVersion.equals(that.sipVersion); 223 * Converts indentation tabs to spaces so that we have a uniform indentation policy in the whole project.
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/ |
Header.java | 39 Header that = (Header) other; local 40 return this.name.equals(that.name) 41 && this.value.equals(that.value);
|
/external/skia/src/gpu/effects/ |
GrConstColorProcessor.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 107 const GrConstColorProcessor& that = other.cast<GrConstColorProcessor>(); local 108 return fMode == that.fMode && fColor == that.fColor;
|
/frameworks/base/core/java/android/net/ |
IpPrefix.java | 35 * in the IP address, starting from the most significant bit in network byte order, that 123 IpPrefix that = (IpPrefix) obj; local 124 return Arrays.equals(this.address, that.address) && this.prefixLength == that.prefixLength; 148 // array is the wrong length, but we check that in the constructor.
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
StatusBarIcon.java | 40 // Now that we have the correct package name handy, let's fix it. 70 StatusBarIcon that = new StatusBarIcon(this.user, this.pkg, this.icon, local 72 that.visible = this.visible; 73 return that; 108 * Parcelable.Creator that instantiates StatusBarIcon objects
|
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/ |
ObservableFieldBindingObject.java | 78 MyParcelable that = (MyParcelable) o; local 80 if (x != that.x) { 83 if (y != null ? !y.equals(that.y) : that.y != null) {
|