Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public enum MySingleton {
- Instance;
- public void init() {}
- public void dostuff() {}
- }
- // call methods so
- MySingleton.Instance.init();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement