/libcore/luni/src/main/java/java/net/ |
URLStreamHandler.java | 22 import libcore.util.Objects; 306 && Objects.equal(a.getRef(), b.getRef()) 307 && Objects.equal(a.getQuery(), b.getQuery()); 355 return Objects.equal(a.getProtocol(), b.getProtocol()) 358 && Objects.equal(a.getFile(), b.getFile());
|
/external/guava/guava/src/com/google/common/net/ |
HostAndPort.java | 24 import com.google.common.base.Objects; 234 return Objects.equal(this.host, that.host) 243 return Objects.hashCode(host, port, hasBracketlessColons);
|
/libcore/luni/src/main/java/java/security/ |
Identity.java | 23 import libcore.util.Objects; 174 * To be equal, two {@code Identity} objects need to have the same name and 179 * @return {@code true} if the {@code Identity} objects are equal, {@code 286 * otherwise. {@code Identity} objects are considered equal, if they have 304 if (Objects.equal(name, i.name) && (Objects.equal(scope, i.scope))) {
|
/packages/apps/Email/src/com/android/email/ |
MessageListContext.java | 28 import com.google.common.base.Objects; 143 && Objects.equal(mSearchParams, om.mSearchParams); 148 return Objects.hashCode(mAccountId, mMailboxId, mSearchParams);
|
/external/guava/guava/src/com/google/common/collect/ |
ForwardingCollection.java | 21 import com.google.common.base.Objects; 172 if (Objects.equal(iterator.next(), object)) {
|
GenericMapMaker.java | 24 import com.google.common.base.Objects; 146 return (RemovalListener<K, V>) Objects.firstNonNull(removalListener, NullListener.INSTANCE);
|
AbstractMultiset.java | 22 import com.google.common.base.Objects; 70 if (Objects.equal(entry.getElement(), element)) {
|
ForwardingMap.java | 21 import com.google.common.base.Objects; 44 * Objects#equal} to test equality for both keys and values. This may not be 164 if (Objects.equal(entry.getKey(), key)) {
|
ForwardingMultiset.java | 21 import com.google.common.base.Objects; 138 if (Objects.equal(entry.getElement(), object)) {
|
GeneralRange.java | 28 import com.google.common.base.Objects; 226 && Objects.equal(lowerEndpoint, r.lowerEndpoint) 227 && Objects.equal(upperEndpoint, r.upperEndpoint); 234 return Objects.hashCode(comparator, lowerEndpoint, lowerBoundType, upperEndpoint,
|
Table.java | 21 import com.google.common.base.Objects; 290 * Objects#hashCode}{@code (e.getRowKey(), e.getColumnKey(), e.getValue())}.
|
/external/guava/guava-tests/test/com/google/common/collect/ |
SingletonImmutableTableTest.java | 21 import com.google.common.base.Objects; 34 assertEquals(Objects.hashCode('a', 1, "blah"), testTable.hashCode());
|
BstTesting.java | 24 import com.google.common.base.Objects; 53 && Objects.equal(childOrNull(LEFT), node.childOrNull(LEFT)) 54 && Objects.equal(childOrNull(RIGHT), node.childOrNull(RIGHT)); 61 return Objects.hashCode(getKey(), childOrNull(LEFT), childOrNull(RIGHT));
|
ArrayTableTest.java | 22 import com.google.common.base.Objects; 140 int expected = Objects.hashCode("foo", 1, 'a') 141 + Objects.hashCode("bar", 1, 'b') 142 + Objects.hashCode("foo", 3, 'c') 143 + Objects.hashCode("bar", 3, 0);
|
/external/guava/guava/src/com/google/common/base/ |
FunctionalEquivalence.java | 71 return Objects.hashCode(function, resultEquivalence);
|
Equivalence.java | 48 * Returns {@code true} if the given objects are considered equivalent. 120 * non-null objects {@code x} and {@code y}, {@code 281 && Objects.equal(target, that.target); 287 return Objects.hashCode(equivalence, target);
|
Objects.java | 34 public final class Objects { 35 private Objects() {} 38 * Determines whether two possibly-null objects are equal. Returns: 47 * <p>This assumes that any non-null objects passed to this function conform 63 * return Objects.hashCode(getX(), getY(), getZ()); 69 public static int hashCode(@Nullable Object... objects) { 70 return Arrays.hashCode(objects); 79 * Objects.toStringHelper(this) 83 * Objects.toStringHelper(this) 88 * Objects.toStringHelper("MyObject" [all...] |
/external/guava/guava/src/com/google/common/cache/ |
CacheBuilder.java | 19 import static com.google.common.base.Objects.firstNonNull; 30 import com.google.common.base.Objects; 435 return (Weigher<K1, V1>) Objects.firstNonNull(weigher, OneWeigher.INSTANCE); 507 * {@link SoftReference} (by default, strong references are used). Softly-referenced objects will 708 return (RemovalListener<K1, V1>) Objects.firstNonNull(removalListener, NullListener.INSTANCE); [all...] |
/libcore/luni/src/main/java/java/util/logging/ |
Level.java | 29 import libcore.util.Objects; 32 * {@code Level} objects are used to indicate the level of logging. There are a 264 if (Objects.equal(resourceBundleName, level.resourceBundleName)) { 316 * Compares two {@code Level} objects for equality. They are considered to
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
QuickResponse.java | 22 import com.google.common.base.Objects; 180 return Objects.hashCode(mId, mText, mAccountKey);
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
AbstractBiMap.java | 23 import com.google.common.base.Objects; 102 if (containedKey && Objects.equal(value, get(key))) { 322 if (Objects.equal(value, getValue())) { 328 checkState(Objects.equal(value, get(getKey())),
|
/external/jmonkeyengine/engine/src/test/jme3test/light/ |
TestEnvironmentMapping.java | 53 BloomFilter bf = new BloomFilter(BloomFilter.GlowMode.Objects);
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
ElementImpl.java | 21 import libcore.util.Objects; 62 if (Objects.equal(name, attr.getNodeName())) { 73 if (Objects.equal(namespaceURI, attr.getNamespaceURI()) 74 && Objects.equal(localName, attr.getLocalName())) {
|
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheBuilderFactory.java | 18 import com.google.common.base.Objects; 197 return Objects.hashCode(duration, unit); 211 return Objects.toStringHelper(this)
|
/libcore/luni/src/main/java/libcore/net/http/ |
HttpConnection.java | 38 import libcore.util.Objects; 321 return Objects.equal(this.proxy, that.proxy) 324 && Objects.equal(this.sslSocketFactory, that.sslSocketFactory)
|