Skip to content

Instantly share code, notes, and snippets.

@marcojahn
Last active December 9, 2015 09:33
Show Gist options
  • Save marcojahn/68431e53deb6a3251d56 to your computer and use it in GitHub Desktop.
Save marcojahn/68431e53deb6a3251d56 to your computer and use it in GitHub Desktop.
public final class CompanyWrapper<T> {
private T t;
public CompanyWrapper() { }
public CompanyWrapper(T t) {
this.t = t;
}
public void set(T t) {
this.t = t;
}
public T get() {
return t;
}
public void nullify() {
t = null;
}
public boolean isNull() {
return t == null;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment