- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for hashCodeImpl (0.12 sec)
-
android/guava/src/com/google/common/collect/Sets.java
} @Override public boolean equals(@CheckForNull Object object) { return equalsImpl(this, object); } @Override public int hashCode() { return hashCodeImpl(this); } } private static class FilteredSortedSet<E extends @Nullable Object> extends FilteredSet<E> implements SortedSet<E> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 78.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/Lists.java
implements RandomAccess { RandomAccessReverseList(List<T> forwardList) { super(forwardList); } } /** An implementation of {@link List#hashCode()}. */ static int hashCodeImpl(List<?> list) { // TODO(lowasser): worth optimizing for RandomAccess? int hashCode = 1; for (Object o : list) { hashCode = 31 * hashCode + (o == null ? 0 : o.hashCode());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 43.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMap.java
public boolean equals(@CheckForNull Object object) { return Maps.equalsImpl(this, object); } abstract boolean isPartialView(); @Override public int hashCode() { return Sets.hashCodeImpl(entrySet()); } boolean isHashCodeFast() { return false; } @Override public String toString() { return Maps.toStringImpl(this); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 41.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
public boolean equals(@CheckForNull Object object) { return Maps.equalsImpl(this, object); } abstract boolean isPartialView(); @Override public int hashCode() { return Sets.hashCodeImpl(entrySet()); } boolean isHashCodeFast() { return false; } @Override public String toString() { return Maps.toStringImpl(this); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 44.6K bytes - Viewed (0)