Skip to content

Instantly share code, notes, and snippets.

@Goblom
Created December 20, 2014 02:30
Show Gist options
  • Save Goblom/69349d1dab356f28ca59 to your computer and use it in GitHub Desktop.
Save Goblom/69349d1dab356f28ca59 to your computer and use it in GitHub Desktop.
Wrapped Awesomeness
public class Wrapped<T> {
private T object;
public Wrapped() {
this(null);
}
public Wrapped(T obj) {
this.object = obj;
}
public T get() {
return object;
}
public void set(T obj) {
this.object = obj;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment