3 ms·
I use them all the time for defining singleton implementations. public static final MyInterface SINGLETON = new MyInterface() { ... }
by jdmichal 10y ago
I use them all the time for defining singleton implementations.
public static final MyInterface SINGLETON = new MyInterface() {
...
}