public class Singleton<T> extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
Singleton.Builder<T> |
| Constructor and Description |
|---|
Singleton(Singleton.Builder<T> builder) |
| Modifier and Type | Method and Description |
|---|---|
T |
get() |
T |
getInstance()
Deprecated.
|
public Singleton(Singleton.Builder<T> builder)
@Deprecated public T getInstance()
get()public T get()
Copyright © 2020. All rights reserved.