Please note, that one can implement Predicate<T> and pass such class to filter method of standard stream,
but, when I try to use class that implements JinqStream.Where<MyEntity, Exception> in where() method it throws exception in runtime:
java.lang.IllegalArgumentException: Could not extract code from lambda. This error sometimes occurs because your lambda references objects that aren't Serializable.
at com.bdsystems.domain.test.JpaTest.integration(JpaTest.java:92)
(everything is serializable, so this is not reason I assume)
Best regards,
Beniamin