- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 732 for Equal (0.2 sec)
-
android/guava/src/com/google/common/collect/MapDifference.java
/** Returns the value from the right map (possibly null). */ @ParametricNullness V rightValue(); /** * Two instances are considered equal if their {@link #leftValue()} values are equal and their * {@link #rightValue()} values are also equal. */ @Override boolean equals(@CheckForNull Object other); /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Aug 04 13:28:27 GMT 2021 - 3.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ObjectsTest.java
assertTrue(Objects.equal(1, 1)); assertTrue(Objects.equal(null, null)); // test distinct string objects String s1 = "foobar"; String s2 = new String(s1); assertTrue(Objects.equal(s1, s2)); assertFalse(Objects.equal(s1, null)); assertFalse(Objects.equal(null, s1)); assertFalse(Objects.equal("foo", "bar")); assertFalse(Objects.equal("1", 1)); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 2.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/EqualsTester.java
* <li>comparing each pair of objects within the same equality group returns true * <li>comparing each pair of objects from different equality groups returns false * <li>the hash codes of any two equal objects are equal * </ul> * * <p>When a test fails, the error message labels the objects involved in the failed comparison as * follows: * * <ul>
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 31 19:11:50 GMT 2023 - 6K bytes - Viewed (0) -
internal/s3select/sql/value_contrib.go
switch op { case opLt: return left.Before(right) case opLte: return left.Before(right) || left.Equal(right) case opGt: return left.After(right) case opGte: return left.After(right) || left.Equal(right) case opEq: return left.Equal(right) case opIneq: return !left.Equal(right) } // This case does not happen return false
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/EqualsTester.java
* <li>comparing each pair of objects within the same equality group returns true * <li>comparing each pair of objects from different equality groups returns false * <li>the hash codes of any two equal objects are equal * </ul> * * <p>When a test fails, the error message labels the objects involved in the failed comparison as * follows: * * <ul>
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Oct 31 19:11:50 GMT 2023 - 6K bytes - Viewed (0) -
istioctl/pkg/util/formatting/formatter_test.go
origin: GrandCastle ` g.Expect(output).To(Equal(expectedOutput)) } func TestFormatter_PrintEmpty(t *testing.T) { g := NewWithT(t) msgs := diag.Messages{} logOutput, _ := Print(msgs, LogFormat, false) g.Expect(logOutput).To(Equal("")) jsonOutput, _ := Print(msgs, JSONFormat, false) g.Expect(jsonOutput).To(Equal("[]")) yamlOutput, _ := Print(msgs, YAMLFormat, false)
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Oct 31 14:48:28 GMT 2023 - 4.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java
assertFalse( "Two Sets should not be equal if exactly one of them contains null.", getSet().equals(other)); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_smallerSet() { Collection<E> fewerElements = getSampleElements(getNumElements() - 1); assertFalse( "Sets of different sizes should not be equal.", getSet().equals(MinimalSet.from(fewerElements)));
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 3.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/ObjectsTest.java
assertTrue(Objects.equal(1, 1)); assertTrue(Objects.equal(null, null)); // test distinct string objects String s1 = "foobar"; String s2 = new String(s1); assertTrue(Objects.equal(s1, s2)); assertFalse(Objects.equal(s1, null)); assertFalse(Objects.equal(null, s1)); assertFalse(Objects.equal("foo", "bar")); assertFalse(Objects.equal("1", 1)); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 2.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Objects.java
private Objects() {} /** * Determines whether two possibly-null objects are equal. Returns: * * <ul> * <li>{@code true} if {@code a} and {@code b} are both null. * <li>{@code true} if {@code a} and {@code b} are both non-null and they are equal according to * {@link Object#equals(Object)}. * <li>{@code false} in all other situations. * </ul> *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 2.9K bytes - Viewed (0) -
internal/cachevalue/cache_test.go
return time.Now(), nil }, ) t1, _ := cache.Get() t2, _ := cache.Get() if !t1.Equal(t2) { t.Fatalf("expected time to be equal: %s != %s", t1, t2) } time.Sleep(3 * time.Second) t3, _ := cache.Get() if t1.Equal(t3) { t.Fatalf("expected time to be un-equal: %s == %s", t1, t3) } } func BenchmarkCache(b *testing.B) { cache := New[time.Time]()
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Feb 28 17:09:09 GMT 2024 - 1.5K bytes - Viewed (0)