Skip to content

Instantly share code, notes, and snippets.

View Chase-san's full-sized avatar

Chase-san

  • Detroit, USA
View GitHub Profile
@Chase-san
Chase-san / Pack.java
Created March 19, 2012 10:16
The Pack Class
package cs.pack;
import java.util.ArrayList;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.lang.reflect.Array;
import java.lang.reflect.Field;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
@Chase-san
Chase-san / gist:703178
Created November 17, 2010 09:12
Look Ma! No hands!
/**
* Recursive with no class level or local variables,
* a single int (the one passed in),
* a single call to print
* a single call to itself
* a single assignment
* a single if() statement (not counting ternaries)
* @param a
*/
public static void rc(int a) {