Uses of Interface
de.team33.patterns.lazy.narvi.LazyFeatures.Key
-
Uses of LazyFeatures.Key in de.team33.patterns.lazy.narvi
Methods in de.team33.patterns.lazy.narvi with parameters of type LazyFeatures.KeyModifier and TypeMethodDescriptionfinal <R> RLazyFeatures.get(LazyFeatures.Key<? super H, ? extends R> key) On the first call after initialization or reset, executes the initialization code provided by the given key and stores the result.final <R> Optional<R>LazyFeatures.peek(LazyFeatures.Key<? super H, ? extends R> key) Determines whether the initialization code provided by the given key has already been executed and its result stored.final voidLazyFeatures.reset(LazyFeatures.Key<?, ?> key) Resets (discards) the stored result for the given key.