Created
July 18, 2016 07:32
-
-
Save hn5092/aaff832d4184e03241049606062380a8 to your computer and use it in GitHub Desktop.
写个enum的
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
private static enum SingletonHolder { | |
INSTANCE; | |
Object lock = new Object(); | |
SpanReceiverHost host = null; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment