Created
August 4, 2009 21:22
-
-
Save thoughtbot/161560 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class Array implements Collection { | |
| public Collection << (Object object) { | |
| // add object to me | |
| } | |
| } | |
| public class String implements Collection { | |
| public Collection << (Object object) { | |
| // add object to me | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment