Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save trycf/f5e86dba685e5c5ff3e49d86a6c23351 to your computer and use it in GitHub Desktop.
Save trycf/f5e86dba685e5c5ff3e49d86a6c23351 to your computer and use it in GitHub Desktop.
TryCF Gist
<cfscript>
myList = createObject('java', 'java.util.ArrayList').init();
myList.add("foo");
myList.add("bar");
myList.add("baz");
i = 0;
i = i+1
writedump(i.getClass().getName() )
writedump( myList.get( i ));
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment