KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jruby > test > BetaSingleton


1
2 package org.jruby.test;
3
4 public class BetaSingleton {
5
6   public static final BetaSingleton getInstance() {
7     return INSTANCE;
8   }
9   private static final BetaSingleton INSTANCE = new BetaSingleton();
10   private BetaSingleton() {
11   }
12   
13   public String JavaDoc beta() {
14     return "Beta";
15   }
16
17 }
18
Popular Tags