Package org.derive4j.processor.api
Class DerivatorSelections.Lazy
- java.lang.Object
-
- org.derive4j.processor.api.DerivatorSelection
-
- org.derive4j.processor.api.DerivatorSelections.Lazy
-
- Enclosing class:
- DerivatorSelections
private static final class DerivatorSelections.Lazy extends DerivatorSelection
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.derive4j.processor.api.DerivatorSelection
DerivatorSelection.Case<X>
-
-
Field Summary
Fields Modifier and Type Field Description private DerivatorSelection
evaluation
private java.util.function.Supplier<DerivatorSelection>
expression
-
Constructor Summary
Constructors Constructor Description Lazy(java.util.function.Supplier<DerivatorSelection> derivatorSelection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private DerivatorSelection
_evaluate()
<X> X
match(DerivatorSelection.Case<X> selection)
-
Methods inherited from class org.derive4j.processor.api.DerivatorSelection
selection
-
-
-
-
Field Detail
-
expression
private volatile java.util.function.Supplier<DerivatorSelection> expression
-
evaluation
private DerivatorSelection evaluation
-
-
Constructor Detail
-
Lazy
Lazy(java.util.function.Supplier<DerivatorSelection> derivatorSelection)
-
-
Method Detail
-
_evaluate
private DerivatorSelection _evaluate()
-
match
public <X> X match(DerivatorSelection.Case<X> selection)
- Specified by:
match
in classDerivatorSelection
-
-