- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 1,655 for Equalf (0.17 sec)
-
android/guava/src/com/google/common/collect/Iterables.java
} /** * Returns the number of elements in the specified iterable that equal the specified object. This * implementation avoids a full iteration when the iterable is a {@link Multiset} or {@link Set}. * * <p><b>Java 8+ users:</b> In most cases, the {@code Stream} equivalent of this method is {@code * stream.filter(element::equals).count()}. If {@code element} might be null, use {@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 24 19:38:27 UTC 2024 - 42.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CloserTest.java
this.suppressed = suppressed; } @Override public boolean equals(@Nullable Object obj) { if (obj instanceof Suppression) { Suppression other = (Suppression) obj; return closeable.equals(other.closeable) && thrown.equals(other.thrown) && suppressed.equals(other.suppressed); } return false; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 11.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Striped.java
* lock. * * <p>The guarantee provided by this class is that equal keys lead to the same lock (or semaphore), * i.e. {@code if (key1.equals(key2))} then {@code striped.get(key1) == striped.get(key2)} (assuming * {@link Object#hashCode()} is correctly implemented for the keys). Note that if {@code key1} is * <strong>not</strong> equal to {@code key2}, it is <strong>not</strong> guaranteed that {@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 26 12:58:35 UTC 2024 - 20.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SortedLists.java
* A specification for which index to return if the list contains at least one element that * compares as equal to the key. */ enum KeyPresentBehavior { /** * Return the index of any list element that compares as equal to the key. No guarantees are * made as to which index is returned, if more than one element compares as equal to the key. */ ANY_PRESENT { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 11K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 15.7K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableList.java
// instead of Object[]. return delegateList().toArray(new Object[size()]); } @Override public boolean equals(@Nullable Object obj) { return delegateList().equals(obj); } @Override public int hashCode() { return delegateList().hashCode(); } @Override public UnmodifiableIterator<E> iterator() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 23 18:43:40 UTC 2024 - 2.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompoundOrdering.java
return result; } } return 0; } @Override public boolean equals(@CheckForNull Object object) { if (object == this) { return true; } if (object instanceof CompoundOrdering) { CompoundOrdering<?> that = (CompoundOrdering<?>) object; return Arrays.equals(this.comparators, that.comparators); } return false; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 2.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FauxveridesTest.java
} @Override public boolean equals(@Nullable Object obj) { if (obj instanceof MethodSignature) { MethodSignature other = (MethodSignature) obj; return name.equals(other.name) && parameterTypes.equals(other.parameterTypes) && typeSignature.equals(other.typeSignature); } return false; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 9.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FauxveridesTest.java
} @Override public boolean equals(@Nullable Object obj) { if (obj instanceof MethodSignature) { MethodSignature other = (MethodSignature) obj; return name.equals(other.name) && parameterTypes.equals(other.parameterTypes) && typeSignature.equals(other.typeSignature); } return false; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 9.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java
} } static class SlowElement extends Element { SlowElement(int hash) { super(hash); } @Override public boolean equals(@Nullable Object obj) { return slowItDown() != 1 && super.equals(obj); } @Override public int hashCode() { return slowItDown() + hash; } @Override public int compareTo(Element e) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.1K bytes - Viewed (0)