Last active
March 27, 2018 04:38
-
-
Save ohjongsung/3b10addcd87fd8fc5131c1f1f6786009 to your computer and use it in GitHub Desktop.
blog code snippets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Generics<T> { | |
private T t; | |
public void set(T t) { | |
this.t = t; | |
} | |
public T get() { | |
return t; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment