@Override public boolean equals(Object o){
  if (o == this) {
    return true;
  }
  if (!(o instanceof TypeToken<?>)) {
    return false;
  }
  TypeToken<?> t=(TypeToken<?>)o;
  return type.equals(t.type);
}

@ Override public boolean equals ( Object o ) { if ( o == this ) { return true ; } if ( ! ( o instanceof TypeToken < ? > ) ) { return false ; } TypeToken < ? > t = ( TypeToken < ? > ) o ; return type . equals ( t . type ) ; }
method to test equality .
