Last active
July 26, 2017 15:53
-
-
Save vestrel00/8bcd5c24ccca4d19f6306c23cf8f27ce to your computer and use it in GitHub Desktop.
A: 4 - util/SingletonUtil.java
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
@Singleton | |
public final class SingletonUtil { | |
@Inject | |
SingletonUtil() { | |
} | |
public String doSomething() { | |
return "SingletonUtil: " + hashCode(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment