Created
April 17, 2010 01:52
-
-
Save elben/369181 to your computer and use it in GitHub Desktop.
This file contains 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
class OneOnly { | |
private static final OneOnly the_one = new OneOnly(); | |
private OneOnly() { | |
} | |
public static get() { | |
return the_one; | |
} | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment