Skip to content

Instantly share code, notes, and snippets.

@realjenius
Created November 24, 2011 17:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save realjenius/1391906 to your computer and use it in GitHub Desktop.
Save realjenius/1391906 to your computer and use it in GitHub Desktop.
Example Mirah as Java
// With:
public class SomeClass extends java.lang.Object {
public java.util.Map singleton_map(java.lang.String a, java.lang.String b) {
java.util.HashMap map = new java.util.HashMap();
map.put(a, b);
return map;
}
}
// Without:
public class SomeClass extends java.lang.Object {
public java.util.HashMap singleton_map(java.lang.String a, java.lang.String b) {
java.util.HashMap map = new java.util.HashMap();
map.put(a, b);
return map;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment