MCPcopy
hub / github.com/google/guava / equals

Method equals

android/guava/src/com/google/common/reflect/TypeToken.java:834–841  ·  view source on GitHub ↗

Returns true if {@code o} is another {@code TypeToken} that represents the same {@link Type}.

(@Nullable Object o)

Source from the content-addressed store, hash-verified

832 * Returns true if {@code o} is another {@code TypeToken} that represents the same {@link Type}.
833 */
834 @Override
835 public boolean equals(@Nullable Object o) {
836 if (o instanceof TypeToken) {
837 TypeToken<?> that = (TypeToken<?>) o;
838 return runtimeType.equals(that.runtimeType);
839 }
840 return false;
841 }
842
843 @Override
844 public int hashCode() {

Callers

nothing calls this directly

Calls 1

equalsMethod · 0.65

Tested by

no test coverage detected