Returns true if {@code o} is another {@code TypeToken} that represents the same {@link Type}.
(@Nullable Object o)
| 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() { |