- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 491 for hashCodes (0.08 sec)
-
src/main/java/jcifs/netbios/Name.java
this.scope = sb.toString(); return srcIndex - start; } @Override public int hashCode() { int result = this.name.hashCode(); result += 65599 * this.hexCode; result += 65599 * this.srcHashCode; /* * hashCode is different depending * on where it came from
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NbtAddress.java
} /** * Returns a hashcode for this IP address. The hashcode comes from the IP address * and is not generated from the string representation. So because NetBIOS nodes * can have many names, all names associated with an IP will have the same * hashcode. */ @Override public int hashCode() { return this.address; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/BaseComparable.java
public class BaseComparable implements Comparable<BaseComparable>, Serializable { private final String s; public BaseComparable(String s) { this.s = s; } @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) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 1.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/Base.java
@GwtCompatible @NullUnmarked class Base implements Comparable<Base>, Serializable { private final String s; public Base(String s) { this.s = s; } @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 Base) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 1.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/UnhashableObject.java
UnhashableObject that = (UnhashableObject) object; return this.value == that.value; } return false; } @Override public int hashCode() { throw new UnsupportedOperationException(); } // needed because otherwise Object.toString() calls hashCode() @Override public String toString() { return "DontHashMe" + value; } @Override public int compareTo(UnhashableObject o) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Apr 10 20:12:40 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/MethodUtilTest.java
final Method hashCodeMethod = ClassUtil.getMethod(getClass(), "hashCode"); assertThat(MethodUtil.isEqualsMethod(hashCodeMethod), is(not(true))); } /** * */ @Test public void testIsHashCodeMethod() { final Method hashCodeMethod = ClassUtil.getMethod(getClass(), "hashCode"); assertThat(MethodUtil.isHashCodeMethod(hashCodeMethod), is(true));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 5.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompoundOrdering.java
CompoundOrdering<?> that = (CompoundOrdering<?>) object; return Arrays.equals(this.comparators, that.comparators); } return false; } @Override public int hashCode() { return Arrays.hashCode(comparators); } @Override public String toString() { return "Ordering.compound(" + Arrays.toString(comparators) + ")"; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Present.java
if (obj instanceof Present) { Present<?> other = (Present<?>) obj; return reference.equals(other.reference); } return false; } @Override public int hashCode() { return 0x598df91c + reference.hashCode(); } @Override public String toString() { return "Optional.of(" + reference + ")"; } @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Apr 15 22:14:00 UTC 2025 - 2.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractRangeSet.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/UniAddress.java
} this.addr = addr; } /** * Return the IP address of this address as a 32 bit integer. */ @Override public int hashCode() { return addr.hashCode(); } /** * Compare two addresses for equality. Two <code>UniAddress</code>s are equal * if they are both <code>UniAddress</code>' and refer to the same IP address. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17K bytes - Viewed (0)