Code example for TypeToken

Methods: hashCode

0
                getType().equals(key.getType());
    } 
 
    @Override 
    public int hashCode() { 
        return 31 * getType().hashCode() + (getName() != null ? getName().hashCode() : 0);
    } 
 
    @Override 
    public String toString() {
        return getType().toString() + (getName() == null ? "" : '/' + getName());
    } 
 
    TypeToken<?> getType() {
        return type;
    } 
 
    String getName() {
        return name;
    } 
Contextual code suggestions in your IDE  Get Codota for Java