Package org.derive4j.processor.api.model
Class DataConstructions.CaseOfMatchers.PartialMatcher<R>
java.lang.Object
org.derive4j.processor.api.model.DataConstructions.CaseOfMatchers.PartialMatcher<R>
- Direct Known Subclasses:
DataConstructions.CaseOfMatchers.PartialMatcher_NoConstructor
,DataConstructions.CaseOfMatchers.TotalMatcher_NoConstructor
- Enclosing class:
DataConstructions.CaseOfMatchers
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DataConstruction
private final Function
<MultipleConstructors, R> private final Function
<DataConstructor, R> -
Constructor Summary
ConstructorsConstructorDescriptionPartialMatcher
(DataConstruction _dataConstruction, Function<MultipleConstructors, R> multipleConstructors, Function<DataConstructor, R> oneConstructor, Supplier<R> noConstructor) -
Method Summary
-
Field Details
-
_dataConstruction
-
multipleConstructors
-
oneConstructor
-
noConstructor
-
-
Constructor Details
-
PartialMatcher
PartialMatcher(DataConstruction _dataConstruction, Function<MultipleConstructors, R> multipleConstructors, Function<DataConstructor, R> oneConstructor, Supplier<R> noConstructor)
-
-
Method Details
-
otherwise
-
otherwise_
-
otherwiseEmpty
-