/libcore/luni/src/test/java/libcore/java/util/ |
ObjectsTest.java | 20 import java.util.Objects; 29 assertEquals(0, Objects.compare(null, null, String.CASE_INSENSITIVE_ORDER)); 30 assertEquals(0, Objects.compare("a", "A", String.CASE_INSENSITIVE_ORDER)); 31 assertEquals(-1, Objects.compare("a", "b", String.CASE_INSENSITIVE_ORDER)); 32 assertEquals(1, Objects.compare("b", "a", String.CASE_INSENSITIVE_ORDER)); 42 assertTrue(Objects.deepEquals(null, null)); 43 assertFalse(Objects.deepEquals(xs, null)); 44 assertFalse(Objects.deepEquals(null, xs)); 45 assertTrue(Objects.deepEquals(xs, xs)); 46 assertTrue(Objects.deepEquals(xs, zs)) [all...] |
/external/guava/guava-tests/test/com/google/common/base/ |
ObjectsTest.java | 26 * Tests for {@link Objects}. 34 assertTrue(Objects.equal(1, 1)); 35 assertTrue(Objects.equal(null, null)); 37 // test distinct string objects 40 assertTrue(Objects.equal(s1, s2)); 42 assertFalse(Objects.equal(s1, null)); 43 assertFalse(Objects.equal(null, s1)); 44 assertFalse(Objects.equal("foo", "bar")); 45 assertFalse(Objects.equal("1", 1)); 49 int h1 = Objects.hashCode(1, "two", 3.0) [all...] |
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
ObjectsTest.java | 24 * Tests for {@link Objects}. 32 assertTrue(Objects.equal(1, 1)); 33 assertTrue(Objects.equal(null, null)); 35 // test distinct string objects 38 assertTrue(Objects.equal(s1, s2)); 40 assertFalse(Objects.equal(s1, null)); 41 assertFalse(Objects.equal(null, s1)); 42 assertFalse(Objects.equal("foo", "bar")); 43 assertFalse(Objects.equal("1", 1)); 47 int h1 = Objects.hashCode(1, "two", 3.0) [all...] |
/libcore/luni/src/main/java/android/system/ |
StructFlock.java | 19 import libcore.util.Objects; 45 return Objects.toString(this);
|
StructPollfd.java | 20 import libcore.util.Objects; 47 return Objects.toString(this);
|
NetlinkSocketAddress.java | 19 import libcore.util.Objects; 59 return Objects.toString(this);
|
StructAddrinfo.java | 20 import libcore.util.Objects; 56 return Objects.toString(this);
|
StructGroupReq.java | 20 import libcore.util.Objects; 37 return Objects.toString(this);
|
StructGroupSourceReq.java | 20 import libcore.util.Objects; 39 return Objects.toString(this);
|
StructLinger.java | 19 import libcore.util.Objects; 44 return Objects.toString(this);
|
StructUcred.java | 19 import libcore.util.Objects; 43 return Objects.toString(this);
|
/libcore/ojluni/src/main/java/java/util/function/ |
DoublePredicate.java | 27 import java.util.Objects; 69 Objects.requireNonNull(other); 101 Objects.requireNonNull(other);
|
DoubleUnaryOperator.java | 27 import java.util.Objects; 65 Objects.requireNonNull(before); 83 Objects.requireNonNull(after);
|
IntPredicate.java | 27 import java.util.Objects; 69 Objects.requireNonNull(other); 101 Objects.requireNonNull(other);
|
IntUnaryOperator.java | 27 import java.util.Objects; 65 Objects.requireNonNull(before); 83 Objects.requireNonNull(after);
|
LongPredicate.java | 27 import java.util.Objects; 69 Objects.requireNonNull(other); 101 Objects.requireNonNull(other);
|
LongUnaryOperator.java | 27 import java.util.Objects; 65 Objects.requireNonNull(before); 83 Objects.requireNonNull(after);
|
Consumer.java | 27 import java.util.Objects; 64 Objects.requireNonNull(after);
|
DoubleConsumer.java | 27 import java.util.Objects; 64 Objects.requireNonNull(after);
|
IntConsumer.java | 27 import java.util.Objects; 64 Objects.requireNonNull(after);
|
LongConsumer.java | 27 import java.util.Objects; 64 Objects.requireNonNull(after);
|
/external/guava/guava-tests/benchmark/com/google/common/base/ |
ObjectsBenchmark.java | 20 import com.google.common.base.Objects; 23 * Some microbenchmarks for the {@link Objects} class. 43 dummy += Objects.hashCode(S0, S1); 51 dummy += Objects.hashCode(S0, S1, S2); 59 dummy += Objects.hashCode(S0, S1, S2, S3); 67 dummy += Objects.hashCode(S0, S1, S2, S3, S4); 75 dummy += Objects.hashCode(I2, S1, D1, S2, I0); 76 dummy += Objects.hashCode(D0, I1, S3, I2, S0);
|
/packages/apps/TV/common/src/com/android/tv/common/recording/ |
RecordingCapability.java | 22 import java.util.Objects; 96 return Objects.equals(maxConcurrentTunedSessions, that.maxConcurrentTunedSessions) && 97 Objects.equals(maxConcurrentPlayingSessions, that.maxConcurrentPlayingSessions) && 98 Objects.equals(maxConcurrentSessionsOfAllTypes, 100 Objects.equals(playbackWhileRecording, that.playbackWhileRecording) && 101 Objects.equals(inputId, that.inputId); 106 return Objects.hash(inputId);
|
/libcore/luni/src/main/java/libcore/reflect/ |
GenericArrayTypeImpl.java | 21 import java.util.Objects; 44 return Objects.equals(getGenericComponentType(), that.getGenericComponentType()); 49 return Objects.hashCode(getGenericComponentType());
|
/libcore/ojluni/src/main/java/java/io/ |
UncheckedIOException.java | 27 import java.util.Objects; 49 super(message, Objects.requireNonNull(cause)); 62 super(Objects.requireNonNull(cause));
|