HomeSort by relevance Sort by last modified time
    Searched refs:Objects (Results 1 - 25 of 164) sorted by null

1 2 3 4 5 6 7

  /external/guava/guava-tests/test/com/google/common/base/
ObjectsTest.java 26 * Tests for {@link Objects}.
33 assertTrue(Objects.equal(1, 1));
34 assertTrue(Objects.equal(null, null));
36 // test distinct string objects
39 assertTrue(Objects.equal(s1, s2));
41 assertFalse(Objects.equal(s1, null));
42 assertFalse(Objects.equal(null, s1));
43 assertFalse(Objects.equal("foo", "bar"));
44 assertFalse(Objects.equal("1", 1));
48 int h1 = Objects.hashCode(1, "two", 3.0)
    [all...]
ToStringHelperTest.java 29 * Tests for {@link Objects#toStringHelper(Object)}.
38 String toTest = Objects.toStringHelper(this).toString();
43 String toTest = Objects.toStringHelper(this).toString();
49 String toTest = Objects.toStringHelper(new TestClass()).toString();
54 String toTest = Objects.toStringHelper(new TestClass()).toString();
60 String toTest = Objects.toStringHelper(new Object() {}).toString();
65 String toTest = Objects.toStringHelper(new Object() {}).toString();
71 String toTest = Objects.toStringHelper(TestClass.class).toString();
76 String toTest = Objects.toStringHelper(TestClass.class).toString();
81 String toTest = Objects.toStringHelper("FooBar").toString()
    [all...]
  /external/llvm/include/llvm/CodeGen/
MachineFrameInfo.h 54 /// of abstract objects on the stack frame.
57 /// objects requested clients. These identifiers are negative integers for
58 /// fixed stack objects (such as arguments passed on the stack) or nonnegative
59 /// for objects that may be reordered. Instructions which refer to stack
60 /// objects use a special MO_FrameIndex operand to represent these frame
68 /// variable sized stack objects, it is safe to decide whether there will be
69 /// any variable sized objects before all stack objects are known (for
71 /// objects).
96 // default, fixed objects are immutable unless marked otherwise
    [all...]
  /external/llvm/lib/IR/
LeakDetector.cpp 25 static ManagedStatic<LeakDetectorImpl<void> > Objects;
28 Objects->clear();
34 Objects->addGarbage(Object);
44 Objects->removeGarbage(Object);
57 Objects->setName("GENERIC");
61 if (Objects->hasGarbage(Message) |
  /frameworks/base/core/java/android/util/
Pair.java 19 import libcore.util.Objects;
22 * Container to ease passing around a tuple of two objects. This object provides a sensible
24 * objects.
42 * Checks the two objects for equality by delegating to their respective
46 * @return true if the underlying objects of the Pair are both considered
55 return Objects.equal(p.first, first) && Objects.equal(p.second, second);
59 * Compute a hash code using the hash codes of the underlying objects
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
AccountWithDataSet.java 22 import com.google.common.base.Objects;
72 return Objects.equal(mAccountName, other.getAccountName())
73 && Objects.equal(mAccountType, other.getAccountType())
74 && Objects.equal(mDataSet, other.getDataSet());
101 if (Objects.equal(systemAccount.name, getAccountName())
102 && Objects.equal(systemAccount.type, getAccountType())) {
  /frameworks/base/core/java/com/android/internal/util/
Objects.java 24 public class Objects {
27 * Determines whether two possibly-null objects are equal. Returns:
36 * <p>This assumes that any non-null objects passed to this function conform
52 * return Objects.hashCode(getX(), getY(), getZ());
58 public static int hashCode(Object... objects) {
59 return Arrays.hashCode(objects);
  /external/guava/guava/src/com/google/common/collect/
SingletonImmutableTable.java 22 import com.google.common.base.Objects;
76 return Objects.equal(this.singleColumnKey, columnKey);
80 return Objects.equal(this.singleRowKey, rowKey);
84 return Objects.equal(this.singleValue, value);
126 return Objects.equal(this.singleRowKey, thatCell.getRowKey()) &&
127 Objects.equal(this.singleColumnKey, thatCell.getColumnKey()) &&
128 Objects.equal(this.singleValue, thatCell.getValue());
135 return Objects.hashCode(singleRowKey, singleColumnKey, singleValue);
AbstractMapEntry.java 20 import com.google.common.base.Objects;
49 return Objects.equal(this.getKey(), that.getKey())
50 && Objects.equal(this.getValue(), that.getValue());
ForwardingMapEntry.java 21 import com.google.common.base.Objects;
42 * Objects#equal} to test equality for both keys and values. This may not be
98 return Objects.equal(this.getKey(), that.getKey())
99 && Objects.equal(this.getValue(), that.getValue());
ByFunctionOrdering.java 23 import com.google.common.base.Objects;
62 return Objects.hashCode(function, ordering);
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/
Pair.java 13 import com.google.common.base.Objects;
16 * Pair of two objects.
49 return Objects.equal(getLeft(), other.getLeft())
50 && Objects.equal(getRight(), other.getRight());
  /external/guava/guava/src/com/google/common/cache/
RemovalNotification.java 22 import com.google.common.base.Objects;
81 return Objects.equal(this.getKey(), that.getKey())
82 && Objects.equal(this.getValue(), that.getValue());
CacheStats.java 23 import com.google.common.base.Objects;
240 return Objects.hashCode(hitCount, missCount, loadSuccessCount, loadExceptionCount,
260 return Objects.toStringHelper(this)
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/
EnumerationValuesPropertyEditor.java 13 import com.google.common.base.Objects;
64 if (Objects.equal(m_values[i], value)) {
82 if (Objects.equal(m_values[i], value)) {
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/
MockAccountTypeManager.java 22 import com.google.common.base.Objects;
46 if (Objects.equal(accountTypeWithDataSet.accountType, type.accountType)
47 && Objects.equal(accountTypeWithDataSet.dataSet, type.dataSet)) {
  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
AccountTypeWithDataSet.java 27 import com.google.common.base.Objects;
85 return Objects.equal(accountType, other.accountType)
86 && Objects.equal(dataSet, other.dataSet);
  /frameworks/base/services/java/com/android/server/display/
DisplayDeviceInfo.java 23 import libcore.util.Objects;
168 && Objects.equal(name, other.name)
179 && Objects.equal(address, other.address);
  /external/guava/guava-tests/test/com/google/common/collect/
AbstractTableReadTest.java 23 import com.google.common.base.Objects;
144 int expected = Objects.hashCode("foo", 1, 'a')
145 + Objects.hashCode("bar", 1, 'b')
146 + Objects.hashCode("foo", 3, 'c');
  /frameworks/base/core/java/android/net/
NetworkIdentity.java 29 import com.android.internal.util.Objects;
63 return Objects.hashCode(mType, mSubType, mSubscriberId, mNetworkId, mRoaming);
71 && Objects.equal(mSubscriberId, ident.mSubscriberId)
72 && Objects.equal(mNetworkId, ident.mNetworkId);
NetworkPolicy.java 24 import com.android.internal.util.Objects;
149 return Objects.hashCode(template, cycleDay, cycleTimezone, warningBytes, limitBytes,
162 && Objects.equal(cycleTimezone, other.cycleTimezone)
163 && Objects.equal(template, other.template);
  /packages/apps/Dialer/src/com/android/dialer/dialpad/
SmartDialLoaderTask.java 31 import com.google.common.base.Objects;
154 return Objects.hashCode(lookupKey, id);
164 return Objects.equal(this.lookupKey, that.lookupKey)
165 && Objects.equal(this.id, that.id);
  /external/guava/guava-testlib/src/com/google/common/testing/
EqualsTester.java 25 import com.google.common.base.Objects;
37 * contains objects that are supposed to be equal to each other, and objects of
51 * <li>comparing each pair of objects within the same equality group returns
53 * <li>comparing each pair of objects from different equality groups returns
55 * <li>the hash code of any two equal objects are equal
58 * <p>When a test fails, the error message labels the objects involved in
85 * Adds {@code equalityGroup} with objects that are supposed to be equal to
111 assertTrue("$ITEM must be unequal to $UNRELATED", !Objects.equal(item, unrelated));
  /frameworks/base/core/java/android/hardware/display/
WifiDisplay.java 22 import libcore.util.Objects;
107 && Objects.equal(mDeviceAlias, other.mDeviceAlias);
  /libcore/luni/src/main/java/libcore/util/
Objects.java 23 public final class Objects {
24 private Objects() {}
27 * Returns true if two possibly-null objects are equal.

Completed in 428 milliseconds

1 2 3 4 5 6 7