public class Singleton<T> extends Object
T
get()
void
reset()
static void
resetAll()
static <T> Singleton<T>
with(Supplier<T> supplier)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static void resetAll()
public static <T> Singleton<T> with(Supplier<T> supplier)
public T get()
public void reset()
Copyright © 2021. All rights reserved.