Skip to content

Instantly share code, notes, and snippets.

@phatduckk
Created May 2, 2011 23:05
Show Gist options
  • Save phatduckk/952541 to your computer and use it in GitHub Desktop.
Save phatduckk/952541 to your computer and use it in GitHub Desktop.
public class HookerReturn2<A, B> {
public A first;
public B second;
public HookerReturn2(A first, B second) {
this.first = first;
this.second = second;
}
public static void example() {
HookerReturn2<Integer, String> r2 = new HookerReturn2<Integer, String>(9, "there you go");
// return r2
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment