public abstract class AbstractLazyInitializer<T> extends Object
AbstractLazyInitializer for any heavy-weight object that might throw an exception
during initialization. The underlying object is initialized at most once.| Constructor and Description |
|---|
AbstractLazyInitializer() |
| Modifier and Type | Method and Description |
|---|---|
T |
get()
Returns an initialized instance of T.
|
protected abstract T |
initialize()
Initializes the actual object that should be returned.
|
Copyright © 2022 Google LLC. All rights reserved.