- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,595 for Other (0.02 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/BaseComparable.java
@Override public int hashCode() { // delegate to 's' return s.hashCode(); } @Override public boolean equals(@Nullable Object other) { if (other == null) { return false; } else if (other instanceof BaseComparable) { return s.equals(((BaseComparable) other).s); } else { return false; } } @Override public int compareTo(BaseComparable o) { return s.compareTo(o.s);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Apr 20 11:19:03 UTC 2023 - 1.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TablesTransformValuesTest.java
table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); Table<String, Integer, Character> other = HashBasedTable.create(); other.put("foo", 1, 'd'); other.put("bar", 2, 'e'); other.put("cat", 2, 'f'); assertThrows(UnsupportedOperationException.class, () -> table.putAll(other)); assertEquals((Character) 'a', table.get("foo", 1)); assertEquals((Character) 'b', table.get("bar", 1));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.1K bytes - Viewed (0) -
licenses/github.com/klauspost/compress/LICENSE
other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Nov 30 19:13:15 UTC 2021 - 16.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt
/** * Returns an array containing only elements found in this array and also in [other]. The returned * elements are in the same order as in this. */ internal fun Array<String>.intersect( other: Array<String>, comparator: Comparator<in String>, ): Array<String> { val result = mutableListOf<String>() for (a in this) { for (b in other) { if (comparator.compare(a, b) == 0) { result.add(a) break
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon May 13 13:42:37 UTC 2024 - 11K bytes - Viewed (0) -
cmd/data-usage-cache.go
} } // merge other data usage entry into this, excluding children. func (e *dataUsageEntry) merge(other dataUsageEntry) { e.Objects += other.Objects e.Versions += other.Versions e.DeleteMarkers += other.DeleteMarkers e.Size += other.Size for i, v := range other.ObjSizes[:] { e.ObjSizes[i] += v } for i, v := range other.ObjVersions[:] { e.ObjVersions[i] += v }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 34.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java
getList().equals(other)); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_otherListContainingNull() { List<E> other = new ArrayList<>(getSampleElements()); other.set(other.size() / 2, null); assertFalse( "Two Lists should not be equal if exactly one of them has null at a given index.", getList().equals(other)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 3.5K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateReleasedVersions.kt
releasedVersions.finalReleases } ) private fun newerVersion(releasedVersion: ReleasedVersion, other: ReleasedVersion) = if (releasedVersion.gradleVersion() > other.gradleVersion()) releasedVersion else other private fun GradleVersion.finalRelease() = this.equals(baseVersion) }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Jul 07 13:12:26 UTC 2021 - 3.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/EqualsTester.java
* </pre> * * <p>This tests {@code foo.equals(foo)}, {@code foo.equals(null)}, and a few other operations. * * <p>For more extensive testing, add multiple equality groups. Each group should contain objects * that are equal to each other but unequal to the objects in any other group. For example: * * <pre> * new EqualsTester() * .addEqualityGroup(new User("page"), new User("page"))
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 31 19:11:50 UTC 2023 - 6K bytes - Viewed (0) -
guava/src/com/google/common/graph/EndpointPair.java
} EndpointPair<?> other = (EndpointPair<?>) obj; if (isOrdered() != other.isOrdered()) { return false; } // Equivalent to the following simple implementation: // boolean condition1 = nodeU().equals(other.nodeU()) && nodeV().equals(other.nodeV()); // boolean condition2 = nodeU().equals(other.nodeV()) && nodeV().equals(other.nodeU()); // return condition1 || condition2;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 01 17:18:04 UTC 2021 - 8.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/GeneralRange.java
upEnd = other.getUpperEndpoint(); upType = other.getUpperBoundType(); } else if (other.hasUpperBound()) { int cmp = comparator.compare(getUpperEndpoint(), other.getUpperEndpoint()); if (cmp > 0 || (cmp == 0 && other.getUpperBoundType() == OPEN)) { upEnd = other.getUpperEndpoint(); upType = other.getUpperBoundType(); } } if (hasLowBound && hasUpBound) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 10.8K bytes - Viewed (0)