Class EitherTypeAdapter.ListChecker
- java.lang.Object
-
- org.eclipse.lsp4j.jsonrpc.json.adapters.EitherTypeAdapter.ListChecker
-
- All Implemented Interfaces:
java.util.function.Predicate<com.google.gson.JsonElement>
- Enclosing class:
- EitherTypeAdapter<L,R>
public static class EitherTypeAdapter.ListChecker extends java.lang.Object implements java.util.function.Predicate<com.google.gson.JsonElement>A predicate for the case that a type alternative is a list.
-
-
Constructor Summary
Constructors Constructor Description ListChecker(java.util.function.Predicate<com.google.gson.JsonElement> elementChecker)ListChecker(java.util.function.Predicate<com.google.gson.JsonElement> elementChecker, boolean resultIfEmpty)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleantest(com.google.gson.JsonElement t)
-