public final class CaseMatchings
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CaseMatchings.ClassDispatcher<T,R,CT> |
Modifier and Type | Method and Description |
---|---|
static <T,R,CT> CaseMatchings.ClassDispatcher<T,R,CT> |
from(java.lang.Class<R> returnType,
java.lang.Class<CT> caseBranchClass) |
static <T,R,CT> CaseMatchings.ClassDispatcher<T,R,CT> |
from(java.lang.Class<R> returnType,
java.lang.Class<CT> caseBranchClass,
java.util.function.Supplier<CT> instanceSupplier) |
public static final <T,R,CT> CaseMatchings.ClassDispatcher<T,R,CT> from(java.lang.Class<R> returnType, java.lang.Class<CT> caseBranchClass)
public static final <T,R,CT> CaseMatchings.ClassDispatcher<T,R,CT> from(java.lang.Class<R> returnType, java.lang.Class<CT> caseBranchClass, java.util.function.Supplier<CT> instanceSupplier)