- java.lang.Object
-
- org.apache.johnzon.websocket.internal.lazy.LazySupplier<T>
-
-
Field Summary
Fields
Modifier and Type |
Field and Description |
private java.util.function.Supplier<T> |
delegate |
private T |
instance |
-
Constructor Summary
Constructors
Constructor and Description |
LazySupplier(java.util.function.Supplier<T> provider) |
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
get
public T get()
- Specified by:
get
in interface java.util.function.Supplier<T>
-
getInstance
public T getInstance()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.