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

1 2 3 4 5 6 7 8 910

  /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...]
  /libcore/luni/src/test/java/libcore/java/util/
ObjectsTest.java 20 import java.util.Objects;
28 assertEquals(0, Objects.compare(null, null, String.CASE_INSENSITIVE_ORDER));
29 assertEquals(0, Objects.compare("a", "A", String.CASE_INSENSITIVE_ORDER));
30 assertEquals(-1, Objects.compare("a", "b", String.CASE_INSENSITIVE_ORDER));
31 assertEquals(1, Objects.compare("b", "a", String.CASE_INSENSITIVE_ORDER));
41 assertTrue(Objects.deepEquals(null, null));
42 assertFalse(Objects.deepEquals(xs, null));
43 assertFalse(Objects.deepEquals(null, xs));
44 assertTrue(Objects.deepEquals(xs, xs));
45 assertTrue(Objects.deepEquals(xs, zs))
    [all...]
  /external/llvm/include/llvm/CodeGen/
MachineFrameInfo.h 55 /// of abstract objects on the stack frame.
58 /// objects requested clients. These identifiers are negative integers for
59 /// fixed stack objects (such as arguments passed on the stack) or nonnegative
60 /// for objects that may be reordered. Instructions which refer to stack
61 /// objects use a special MO_FrameIndex operand to represent these frame
69 /// variable sized stack objects, it is safe to decide whether there will be
70 /// any variable sized objects before all stack objects are known (for
72 /// objects).
97 // 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)
  /frameworks/base/core/java/android/view/
DisplayAdjustments.java 22 import com.android.internal.util.Objects;
94 return Objects.equal(daj.mCompatInfo, mCompatInfo) &&
95 Objects.equal(daj.mActivityToken, mActivityToken);
  /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/ContactsCommon/TestCommon/src/com/android/contacts/common/test/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);
  /external/droiddriver/src/com/google/android/droiddriver/actions/
PressKeyAction.java 25 import com.google.common.base.Objects;
56 return Objects.toStringHelper(this).addValue(KeyEvent.keyCodeToString(keyCode)).toString();
TypeAction.java 22 import com.google.common.base.Objects;
78 return Objects.toStringHelper(this).addValue(text).toString();
  /frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
CreateInfo.java 23 import com.android.tools.layoutlib.java.Objects;
115 Objects.class,
227 "java.util.Objects", "com.android.tools.layoutlib.java.Objects",
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
FolderOperation.java 21 import com.google.common.base.Objects;
71 if (Objects.equal(op.mFolder, folder) && !op.mAdd) {
  /frameworks/base/media/lib/java/com/android/media/remotedisplay/
RemoteDisplay.java 19 import com.android.internal.util.Objects;
90 if (!Objects.equal(mMutableInfo.name, name)) {
101 if (!Objects.equal(mMutableInfo.description, description)) {
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/
Account.java 36 import com.google.common.base.Objects;
617 Objects.equal(uri, other.uri) &&
618 Objects.equal(folderListUri, other.folderListUri) &&
619 Objects.equal(fullFolderListUri, other.fullFolderListUri) &&
620 Objects.equal(allFolderListUri, other.allFolderListUri) &&
621 Objects.equal(searchUri, other.searchUri) &&
622 Objects.equal(accountFromAddresses, other.accountFromAddresses) &&
623 Objects.equal(expungeMessageUri, other.expungeMessageUri) &&
624 Objects.equal(undoUri, other.undoUri) &&
625 Objects.equal(settingsIntentUri, other.settingsIntentUri) &
    [all...]

Completed in 649 milliseconds

1 2 3 4 5 6 7 8 910