- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 594 for EQUAL (0.05 seconds)
-
guava/src/com/google/common/collect/Multiset.java
} // Comparison and hashing /** * Compares the specified object with this multiset for equality. Returns {@code true} if the * given object is also a multiset and contains equal elements with equal counts, regardless of * order. */ @Override // TODO(kevinb): caveats about equivalence-relation? boolean equals(@Nullable Object object); /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 20.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingObject.java
* such custom interfaces directly; they are implemented only in subclasses. Therefore, forwarding * {@code equals} would break symmetry, as the forwarding object might consider itself equal to the * object being tested, but the reverse could not be true. This behavior is consistent with the * JDK's collection wrappers, such as {@link java.util.Collections#unmodifiableCollection}. Use anCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
* @param b the second unsigned {@code long} to compare * @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is * greater than {@code b}; or zero if they are equal */ @SuppressWarnings("InlineMeInliner") // Integer.compare unavailable under GWT+J2CL public static int compare(long a, long b) { return Longs.compare(flip(a), flip(b)); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 05 22:13:21 GMT 2026 - 17.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/Ordering.java
return explicit(Lists.asList(leastValue, remainingValuesInOrder)); } // Ordering<Object> singletons /** * Returns an ordering which treats all values as equal, indicating "no ordering." Passing this * ordering to any <i>stable</i> sort algorithm results in no change to the order of elements. * Note especially that {@link #sortedCopy} and {@link #immutableSortedCopy} are stable, and in
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 39.4K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Ints.java
"The hash code of a int is the int itself, so it's simplest to return that.") public static int hashCode(int value) { return value; } /** * Returns the {@code int} value that is equal to {@code value}, if possible. * * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Use {@link * Math#toIntExact(long)} instead, but be aware that that method throws {@link
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 31.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/CompactLinkedHashMap.java
* (pointing to the next entry in the linked list). The pointers in [size(), entries.length) are * all "null" (UNSET). * * <p>A node with "prev" pointer equal to {@code ENDPOINT} is the first node in the linked list, * and a node with "next" pointer equal to {@code ENDPOINT} is the last node. */ @VisibleForTesting transient long @Nullable [] links;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 10.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Ordering.java
return explicit(Lists.asList(leastValue, remainingValuesInOrder)); } // Ordering<Object> singletons /** * Returns an ordering which treats all values as equal, indicating "no ordering." Passing this * ordering to any <i>stable</i> sort algorithm results in no change to the order of elements. * Note especially that {@link #sortedCopy} and {@link #immutableSortedCopy} are stable, and in
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 39.4K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/ImmutableNetwork.java
* * <p>If {@code edge} already connects an endpoint pair equal to {@code endpoints}, then this * method will have no effect. * * @return this {@code Builder} object * @throws IllegalArgumentException if {@code edge} already exists in the network and connects * some other endpoint pair that is not equal to {@code endpoints}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 9.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
byte[] resp = NtlmUtil.getLMv2Response(key, server, client); // Assert: HMAC(16) only assertEquals(16, resp.length); } @Test @DisplayName("getNTLMResponse: overloads produce equal 24-byte response") void testGetNTLMResponse_overloads() throws GeneralSecurityException { // Arrange String password = "password"; byte[] challenge = hex("1122334455667788");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 12K bytes - Click Count (1) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java
"multiset.entrySet() has incorrect hash code", 1 ^ e0().hashCode(), getMultiset().entrySet().hashCode()); } public void testEquals_yes() { assertTrue( "multiset doesn't equal a multiset with the same elements", getMultiset().equals(HashMultiset.create(getSampleElements()))); } public void testEquals_differentSize() { Multiset<E> other = HashMultiset.create(getSampleElements());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 4K bytes - Click Count (0)