Skip to content

Instantly share code, notes, and snippets.

@jafish
Created October 5, 2009 15:40
Show Gist options
  • Save jafish/202194 to your computer and use it in GitHub Desktop.
Save jafish/202194 to your computer and use it in GitHub Desktop.
String toString(CircleShape circle)
{
StringBuffer buff = new StringBuffer();
Field[] fields = circle.getClass().getDeclaredFields();
for (int i = 0; i < fields.length; i++)
{
//println("Field " + i + " is " + fields[i].getName());
}
return buff.toString();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment