Index

D G H I L P R X 
All Classes and Interfaces|All Packages|Serialized Form

D

de.team33.patterns.lazy.narvi - package de.team33.patterns.lazy.narvi
Provides generic envelope classes that support lazy initialization.

G

get() - Method in class de.team33.patterns.lazy.narvi.Lazy
Executes the originally defined initialization code once on the first call and returns its result on that and every subsequent call without executing the initialization code again.
get() - Method in class de.team33.patterns.lazy.narvi.ReLazy
Executes the originally defined initialization code once on the first call and returns its result on that and every subsequent call without executing the initialization code again.
get() - Method in class de.team33.patterns.lazy.narvi.XLazy
Executes the originally defined initialization code once on the first call and returns its result on that and every subsequent call without executing the initialization code again.
get() - Method in class de.team33.patterns.lazy.narvi.XReLazy
Executes the originally defined initialization code once on the first call and returns its result on that and every subsequent call without executing the initialization code again.
get(LazyFeatures.Key<? super H, ? extends R>) - Method in class de.team33.patterns.lazy.narvi.LazyFeatures
On the first call after initialization or reset, executes the initialization code provided by the given key and stores the result.

H

host() - Method in class de.team33.patterns.lazy.narvi.LazyFeatures
Returns the actual host <H>.

I

init(XSupplier<? extends T, ? extends X>) - Static method in class de.team33.patterns.lazy.narvi.XLazy
Returns a new instance giving a Supplier that defines the intended initialization of the represented value.
init(XSupplier<? extends T, ? extends X>) - Static method in class de.team33.patterns.lazy.narvi.XReLazy
Returns a new instance giving a Supplier that defines the intended initialization of the represented value.
init(H) - Method in interface de.team33.patterns.lazy.narvi.LazyFeatures.Key
 
init(Supplier<? extends T>) - Static method in class de.team33.patterns.lazy.narvi.Lazy
Returns a new instance giving a Supplier that defines the intended initialization of the represented value.
init(Supplier<? extends T>) - Static method in class de.team33.patterns.lazy.narvi.ReLazy
Returns a new instance giving a Supplier that defines the intended initialization of the represented value.
initEx(XSupplier<? extends T, ?>) - Static method in class de.team33.patterns.lazy.narvi.Lazy
Returns a new instance giving an XSupplier that defines the intended initialization of the represented value.
initEx(XSupplier<? extends T, ?>) - Static method in class de.team33.patterns.lazy.narvi.ReLazy
Returns a new instance giving an XSupplier that defines the intended initialization of the represented value.
InitException - Exception in de.team33.patterns.lazy.narvi
An unchecked exception type that may be thrown on Lazy.get() or ReLazy.get(), when their initialization code causes a checked exception.

L

Lazy<T> - Class in de.team33.patterns.lazy.narvi
Implements a Supplier that provides a virtually fixed value.
Lazy.InitException - Exception in de.team33.patterns.lazy.narvi
Deprecated, for removal: This API element is subject to removal in a future version.
use InitException instead!
LazyFeatures<H> - Class in de.team33.patterns.lazy.narvi
A tool for managing properties of a host instance, which typically result from other properties of the host and are only actually determined when needed.
LazyFeatures() - Constructor for class de.team33.patterns.lazy.narvi.LazyFeatures
 
LazyFeatures.Key<H,R> - Interface in de.team33.patterns.lazy.narvi
Abstracts the keys needed to access values managed by a LazyFeatures instance.

P

peek(LazyFeatures.Key<? super H, ? extends R>) - Method in class de.team33.patterns.lazy.narvi.LazyFeatures
Determines whether the initialization code provided by the given key has already been executed and its result stored.

R

ReLazy<T> - Class in de.team33.patterns.lazy.narvi
Implements a Supplier that provides a virtually fixed value(1).
reset() - Method in class de.team33.patterns.lazy.narvi.LazyFeatures
Resets (discards) all the stored results.
reset() - Method in class de.team33.patterns.lazy.narvi.ReLazy
Resets this to the initial state and returns this.
reset() - Method in class de.team33.patterns.lazy.narvi.XReLazy
Resets this to the initial state and returns this.
reset(LazyFeatures.Key<?, ?>) - Method in class de.team33.patterns.lazy.narvi.LazyFeatures
Resets (discards) the stored result for the given key.

X

XLazy<T,X extends Exception> - Class in de.team33.patterns.lazy.narvi
Implements a kind of supplier that provides a virtually fixed value.
XReLazy<T,X extends Exception> - Class in de.team33.patterns.lazy.narvi
Implements a kind of supplier that provides a virtually fixed value(1).
D G H I L P R X 
All Classes and Interfaces|All Packages|Serialized Form