Skip to content

Instantly share code, notes, and snippets.

@miketamis
Created August 9, 2012 06:48
Show Gist options
  • Save miketamis/3301764 to your computer and use it in GitHub Desktop.
Save miketamis/3301764 to your computer and use it in GitHub Desktop.
String s = Integer.toBinaryString(derp);
for (int index=0; index<s.length(); index++)
Booleansss[index] = s.charAt(index) == 1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment