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

1 2 3 4 5 6

  /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 52 /// of abstract objects on the stack frame.
55 /// objects requested clients. These identifiers are negative integers for
56 /// fixed stack objects (such as arguments passed on the stack) or nonnegative
57 /// for objects that may be reordered. Instructions which refer to stack
58 /// objects use a special MO_FrameIndex operand to represent these frame
66 /// variable sized stack objects, it is safe to decide whether there will be
67 /// any variable sized objects before all stack objects are known (for
69 /// objects).
94 // default, fixed objects are immutable unless marked otherwise
    [all...]
  /libcore/luni/src/main/java/libcore/util/
Objects.java 19 public final class Objects {
20 private Objects() {}
23 * Returns true if two possibly-null objects are equal.
  /external/llvm/lib/VMCore/
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) |
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
AccountWithDataSet.java 19 import com.android.internal.util.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/src/com/android/contacts/model/
AccountTypeWithDataSet.java 19 import com.google.common.base.Objects;
85 return Objects.equal(accountType, other.accountType)
86 && Objects.equal(dataSet, other.dataSet);
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/
MockAccountTypeManager.java 30 import libcore.util.Objects;
48 if (Objects.equal(accountTypeWithDataSet.accountType, type.accountType)
49 && Objects.equal(accountTypeWithDataSet.dataSet, type.dataSet)) {
  /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);
NetworkTemplate.java 36 import com.android.internal.util.Objects;
177 return Objects.hashCode(mMatchRule, mSubscriberId, mNetworkId);
185 && Objects.equal(mSubscriberId, other.mSubscriberId)
186 && Objects.equal(mNetworkId, other.mNetworkId);
236 && Objects.equal(mSubscriberId, ident.mSubscriberId));
281 return Objects.equal(mNetworkId, ident.mNetworkId);
  /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));
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
SearchParams.java 23 import com.google.common.base.Objects;
86 return Objects.hashCode(mMailboxId, mFilter, mOffset);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
XmlPropertyComposite.java 19 import com.google.common.base.Objects;
27 * bound to difference objects. This is used when multiple objects are selected
29 * will (via {@link #setValue(Object)}) set it on all selected objects.
90 } else if (!Objects.equal(value, propertyValue)) {
  /libcore/luni/src/main/java/java/beans/
PropertyChangeSupport.java 31 import libcore.util.Objects;
152 if (!Objects.equal(aName, bName)) {
157 return aName == null && Objects.equal(a, b);
180 if (p instanceof PropertyChangeListenerProxy && Objects.equal(
275 if (!(p instanceof PropertyChangeListenerProxy) || Objects.equal(
391 if (!Objects.equal(proxy.getPropertyName(), propertyName)) {

Completed in 420 milliseconds

1 2 3 4 5 6