Skip to content

Instantly share code, notes, and snippets.

@SamDeBlock
SamDeBlock / generics.java
Created November 17, 2015 12:18
Generics
public class Generics {
static class Foo<T, R> {
public void bar(T arg) {
System.out.println("T " + arg);
}
public void bar(R arg) {
System.out.println("R " + arg);
}
}
@SamDeBlock
SamDeBlock / 0_reuse_code.js
Last active August 29, 2015 14:24
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console