Package one.microstream.typing
Interface LambdaTypeRecognizer
- All Known Implementing Classes:
- LambdaTypeRecognizer.Java8Makeshift
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface LambdaTypeRecognizer
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classLambdaTypeRecognizer.Java8MakeshiftThis is a makeshift implementation and by far not a completely safe approach.
- 
Method SummaryModifier and Type Method Description booleanisLambdaType(Class<?> type)static LambdaTypeRecognizerJava8Makeshift()Creates aLambdaTypeRecognizerinstance with stateless makeshift implementation for Java 8 and compatible later versions.static LambdaTypeRecognizerNew()Creates aLambdaTypeRecognizerinstance with stateless default implementation for the most current approach (JDK version).
- 
Method Details- 
isLambdaType
- 
NewCreates aLambdaTypeRecognizerinstance with stateless default implementation for the most current approach (JDK version).Currently Java8Makeshift().- Returns:
- a new and stateless instance.
 
- 
Java8MakeshiftCreates aLambdaTypeRecognizerinstance with stateless makeshift implementation for Java 8 and compatible later versions.- Returns:
- a new and stateless instance for Java 8.
 
 
-