- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,133 for Equals (0.17 sec)
-
android/guava/src/com/google/common/collect/ExplicitOrdering.java
throw new IncomparableValueException(value); } return rank; } @Override public boolean equals(@CheckForNull Object object) { if (object instanceof ExplicitOrdering) { ExplicitOrdering<?> that = (ExplicitOrdering<?>) object; return this.rankMap.equals(that.rankMap); } return false; } @Override public int hashCode() { return rankMap.hashCode(); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Sun Jun 20 14:22:42 GMT 2021 - 2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingMultiset.java
return delegate().elementSet(); } @Override public Set<Entry<E>> entrySet() { return delegate().entrySet(); } @Override public boolean equals(@CheckForNull Object object) { return object == this || delegate().equals(object); } @Override public int hashCode() { return delegate().hashCode(); } @CanIgnoreReturnValue @Override
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri May 12 15:26:39 GMT 2023 - 10.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java
public boolean apply(@Nullable String string) { return !"banana".equals(string) && !"eggplant".equals(string); } }; static final Predicate<String> FILTER_VALUES = new Predicate<String>() { @Override public boolean apply(@Nullable String string) { return !"toast".equals(string) && !"spam".equals(string); } };
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 20:09:59 GMT 2024 - 32.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/EqualsTester.java
assertTrue(item + " must not be Object#equals to null", !item.equals(null)); assertTrue( item + " must not be Object#equals to an arbitrary object of another class", !item.equals(NotAnInstance.EQUAL_TO_NOTHING)); assertTrue(item + " must be Object#equals to itself", item.equals(item)); assertEquals(
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Oct 31 19:11:50 GMT 2023 - 6K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/EndpointPair.java
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Oct 01 17:18:04 GMT 2021 - 8.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingMapEntry.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Mar 19 19:28:11 GMT 2024 - 4.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java
"Two Maps should not be equal if exactly one of them contains a null value.", getMap().equals(other)); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_smallerMap() { Collection<Entry<K, V>> fewerEntries = getSampleEntries(getNumEntries() - 1); assertFalse( "Maps of different sizes should not be equal.", getMap().equals(newHashMap(fewerEntries))); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 4.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java
"Two Maps should not be equal if exactly one of them contains a null value.", getMap().equals(other)); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_smallerMap() { Collection<Entry<K, V>> fewerEntries = getSampleEntries(getNumEntries() - 1); assertFalse( "Maps of different sizes should not be equal.", getMap().equals(newHashMap(fewerEntries))); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 4.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java
BiPredicate<ImmutableSortedMultiset<String>, ImmutableSortedMultiset<String>> equivalence = (ms1, ms2) -> ms1.equals(ms2) && ms1.entrySet().asList().equals(ms2.entrySet().asList()) && ms1.comparator().equals(ms2.comparator()); CollectorTester.of( ImmutableSortedMultiset.<String>toImmutableSortedMultiset( String.CASE_INSENSITIVE_ORDER),
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 20:09:59 GMT 2024 - 22.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/RelationshipTester.java
* identical inputs: This sounds like it ought to be a problem here, since the goals of this class * include testing that {@code equals()} is reflexive and is tolerant of {@code null}. However, * there's no problem. The reason: {@link EqualsTester} tests {@code null} and identical inputs * directly against {@code equals()} rather than through the {@code Equivalence}. */ private final Equivalence<? super T> equivalence;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Apr 25 11:57:12 GMT 2023 - 5.9K bytes - Viewed (0)