/system/timezone/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/ |
ZoneTabFile.java | 31 * A class that knows about the structure of the zone.tab file. 98 CountryEntry that = (CountryEntry) o; local 100 if (!isoCode.equals(that.isoCode)) { 103 return olsonId.equals(that.olsonId);
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
ListInstrumentationParser.java | 33 * A {@link IShellOutputReceiver} that parses the output of a 'pm list instrumentation' query 43 // instrumentation` output is that Tradefed will be unable to tell whether or not an 45 // runners, and check if a target uses that particular runner, although this means that any 69 InstrumentationTarget that = (InstrumentationTarget)object; local 70 return Objects.equals(this.packageName, that.packageName) 71 && Objects.equals(this.runnerName, that.runnerName) 72 && Objects.equals(this.targetName, that.targetName);
|
/development/tools/bugreport/src/com/android/bugreport/stacks/ |
ThreadSnapshot.java | 64 public ThreadSnapshot(ThreadSnapshot that) { 65 this.name = that.name; 66 this.daemon = that.daemon; 67 this.priority = that.priority; 68 this.tid = that.tid; 69 this.sysTid = that.sysTid; 70 this.vmState = that.vmState; 71 int N = that.attributeText.size(); 73 this.attributeText.add(that.attributeText.get(i)); 75 this.heldMutexes = that.heldMutexes [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/ |
streams.rb | 11 modification, are permitted provided that the following conditions 104 <i>bare-minimum lightweight information</i> that the recognizer needs, 147 ``abstract'' pseudo-methods that demand implementation when it is mixed in to a 148 class that wants to be a Stream. Right now this exists as an artifact of porting class in class:ANTLR3 151 interfaces aren't that useful as programmatic entities -- in fact, it's mildly 158 duck-typing and not type checking on objects. This means that the methods which 159 manipulate stream objects don't usually bother checking that the object is a 160 Stream and assume that the object implements the proper stream interface. Thus, 161 it is not strictly necessary that custom stream objects include ANTLR3::Stream, 295 yield tokens that have the same value for <tt>channel</tt>. The stream skip [all...] |
/external/apache-http/src/org/apache/http/auth/ |
AuthScope.java | 202 public int match(final AuthScope that) { 204 if (LangUtils.equals(this.scheme, that.scheme)) { 207 if (this.scheme != ANY_SCHEME && that.scheme != ANY_SCHEME) { 211 if (LangUtils.equals(this.realm, that.realm)) { 214 if (this.realm != ANY_REALM && that.realm != ANY_REALM) { 218 if (this.port == that.port) { 221 if (this.port != ANY_PORT && that.port != ANY_PORT) { 225 if (LangUtils.equals(this.host, that.host)) { 228 if (this.host != ANY_HOST && that.host != ANY_HOST) { 249 AuthScope that = (AuthScope) o local [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/memory/ |
ObjectGraphMeasurer.java | 34 * A tool that can qualitatively measure the footprint 121 Footprint that = (Footprint) o; local 122 return this.objects == that.objects 123 && this.nonNullRefs == that.nonNullRefs 124 && this.nullRefs == that.nullRefs 125 && this.primitives.equals(that.primitives); 144 * reached through that, excluding static fields, {@code Class} objects, 161 * reached through that, excluding static fields, {@code Class} objects, 168 * @param objectAcceptor a predicate that returns {@code true} for objects
|
/external/caliper/caliper/src/main/java/com/google/caliper/model/ |
Host.java | 65 Host that = (Host) obj; local 66 return this.properties.equals(that.properties);
|
VmSpec.java | 65 VmSpec that = (VmSpec) obj; local 66 return this.properties.equals(that.properties) 67 && this.options.equals(that.options);
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
BenchmarkClass.java | 42 * destroying instances of that class. 134 BenchmarkClass that = (BenchmarkClass) obj; local 135 return this.theClass.equals(that.theClass);
|
Instrument.java | 70 * Indicates that trials using this instrument can be run in parallel with other trials. 98 Instrumentation that = (Instrumentation) obj; local 99 return Instrument.this.equals(that.instrument()) 100 && this.benchmarkMethod.equals(that.benchmarkMethod); 145 * Defines the list of options applicable to this instrument. Implementations that use options 153 * Returns some arguments that should be added to the command line when invoking 169 * <p>A message is some piece of user visible data that should be displayed to the user along 179 * A default implementation of {@link MeasurementCollectingVisitor} that collects measurements for
|
/external/caliper/caliper/src/main/java/com/google/caliper/worker/ |
AllocationStats.java | 151 AllocationStats that = (AllocationStats) obj; local 152 return allocationCount == that.allocationCount 153 && allocationSize == that.allocationSize 154 && reps == that.reps 155 && Objects.equal(allocations, that.allocations);
|
/external/guava/guava/src/com/google/common/base/ |
CaseFormat.java | 153 * Returns a {@code Converter} that converts strings from this format to {@code targetFormat}. 185 StringConverter that = (StringConverter) object; local 186 return sourceFormat.equals(that.sourceFormat) 187 && targetFormat.equals(that.targetFormat);
|
Enums.java | 111 * Returns a converter that converts between strings and {@code enum} values of type 144 StringConverter<?> that = (StringConverter<?>) object; local 145 return this.enumClass.equals(that.enumClass);
|
Equivalence.java | 61 * false} (provided that neither {@code x} nor {@code y} is modified). 95 * that the hash be distributable across <i>inequivalence</i>. If {@code equivalence(x, y)} 118 * {@code function} to the argument, then evaluating using {@code this}. That is, for any pair of 130 * <p>Note that {@code function} must be consistent according to {@code this} equivalence 131 * relation. That is, invoking {@link Function#apply} multiple times for a given value must return 134 * because it's not guaranteed that {@link Object#toString}) always returns the same string 144 * Returns a wrapper of {@code reference} that implements 145 * {@link Wrapper#equals(Object) Object.equals()} such that 155 * Wraps an object so that {@link #equals(Object)} and {@link #hashCode()} delegate to an 159 * that tests equivalence using their lengths 196 Wrapper<?> that = (Wrapper<?>) obj; \/\/ note: not necessarily a Wrapper<T> local 277 EquivalentToPredicate<?> that = (EquivalentToPredicate<?>) obj; local [all...] |
Functions.java | 48 * Returns a function that calls {@code toString()} on its argument. The function does not accept 100 * IllegalArgumentException} if given a key that does not exist in the map. See also {@link 105 * function that also supports reverse conversion. 127 FunctionForMapNoDefault<?, ?> that = (FunctionForMapNoDefault<?, ?>) o; local 128 return map.equals(that.map); 146 * this method returns {@code defaultValue} for all inputs that do not belong to the map's key 149 * @param map source map that determines the function behavior 150 * @param defaultValue the value to return for inputs that aren't map keys 151 * @return function that returns {@code map.get(a)} when {@code a} is a key, or {@code 175 ForMapWithDefault<?, ?> that = (ForMapWithDefault<?, ?>) o local 221 FunctionComposition<?, ?, ?> that = (FunctionComposition<?, ?, ?>) obj; local 263 PredicateFunction<?> that = (PredicateFunction<?>) obj; local 304 ConstantFunction<?> that = (ConstantFunction<?>) obj; local 347 SupplierFunction<?> that = (SupplierFunction<?>) obj; local [all...] |
Suppliers.java | 46 * {@code function} to that value. Note that the resulting supplier will not 72 SupplierComposition<?, ?> that = (SupplierComposition<?, ?>) obj; local 73 return function.equals(that.function) && supplier.equals(that.supplier); 91 * call to {@code get()} and returns that value on subsequent calls to 143 * Returns a supplier that caches the instance supplied by the delegate and 154 * @param duration the length of time after a value is created that it 156 * @param unit the unit that {@code duration} is expressed in 195 // In the very unlikely event that nanos is 0, set it to 1 236 SupplierOfInstance<?> that = (SupplierOfInstance<?>) obj; local [all...] |
/external/guava/guava/src/com/google/common/collect/ |
Cut.java | 60 * (only in the case of types that are unbounded below) BELOW_ALL. 68 public int compareTo(Cut<C> that) { 69 if (that == belowAll()) { 72 if (that == aboveAll()) { 75 int result = Range.compareOrThrow(endpoint, that.endpoint); 81 this instanceof AboveValue, that instanceof AboveValue); 92 Cut<C> that = (Cut<C>) obj; local 94 int compareResult = compareTo(that);
|
EmptyContiguousSet.java | 106 Set<?> that = (Set<?>) object; local 107 return that.isEmpty();
|
/external/guava/guava/src/com/google/common/net/ |
HostAndPort.java | 57 * <p>Note that this is not an exhaustive list, because these methods are only 87 * Returns the portion of this {@code HostAndPort} instance that should 160 * Note that the host-only formats will leave the port field undefined. You 210 * @return an array with 2 strings: host and port, in that order. 258 * <p>URI formatting requires that IPv6 literals be surrounded by brackets, 261 * that don't contain these brackets. 263 * <p>Note that this parser identifies IPv6 literals solely based on the 281 HostAndPort that = (HostAndPort) other; local 282 return Objects.equal(this.host, that.host) 283 && this.port == that.por [all...] |
/external/guava/guava/src/com/google/common/reflect/ |
Element.java | 120 * <p>Note that a method may still be effectively "final", or non-overridable when it has no 155 Element that = (Element) obj; local 156 return getOwnerType().equals(that.getOwnerType()) && member.equals(that.member);
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
RegularContiguousSet.java | 28 * An implementation of {@link ContiguousSet} that contains one or more elements. 145 RegularContiguousSet<?> that = (RegularContiguousSet<?>) object; local 146 if (this.domain.equals(that.domain)) { 147 return this.first().equals(that.first()) 148 && this.last().equals(that.last());
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
AbstractInvocationHandlerTest.java | 140 DelegatingInvocationHandlerWithEquals that = (DelegatingInvocationHandlerWithEquals) obj; local 141 return delegate.equals(that.delegate);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
Row.java | 120 Row<C0, C1, C2, C3, C4> that = (Row<C0, C1, C2, C3, C4>)other; local 121 if (items.length != that.items.length) { 126 if (!Utility.objectEquals(item, that.items[i++])) { 139 Row<C0, C1, C2, C3, C4> that = (Row<C0, C1, C2, C3, C4>)other; local 140 result = items.length - that.items.length; 146 result = Utility.checkCompare(((Comparable)item), ((Comparable)that.items[i++]));
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
LocalePriorityList.java | 34 * "en, fr, de", and synthesize arbitrary quality values that put these in the 53 * weight, and then by input order. That is, if two languages have the same weight, the first one in the original order 123 * Return the weight for a given language, or null if there is none. Note that 171 final LocalePriorityList that = (LocalePriorityList) o; local 172 return languagesAndWeights.equals(that.languagesAndWeights);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
Row.java | 116 Row<C0, C1, C2, C3, C4> that = (Row<C0, C1, C2, C3, C4>)other; local 117 if (items.length != that.items.length) { 122 if (!Utility.objectEquals(item, that.items[i++])) { 135 Row<C0, C1, C2, C3, C4> that = (Row<C0, C1, C2, C3, C4>)other; local 136 result = items.length - that.items.length; 142 result = Utility.checkCompare(((Comparable)item), ((Comparable)that.items[i++]));
|