Skip to content

Instantly share code, notes, and snippets.

@ajduke
Last active December 20, 2015 08:09
Show Gist options
  • Save ajduke/6098711 to your computer and use it in GitHub Desktop.
Save ajduke/6098711 to your computer and use it in GitHub Desktop.
package in.ajduke.ap012;
/**
* An generified model for demo of gson conversion
* @author ajduke
*/
public class GenericModel<T> {
T value;
public GenericModel(T value) {
super();
this.value = value;
}
@Override
public String toString() {
return "Model2 [value=" + value + "]";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment