How to apply multiple Filters on Java Stream?
I have to filter a Collection of Objects by a Map, which holds key value pairs of the Objects field names and field values. I am trying to apply all filters by stream().filter(). The Objects are actually JSON, therefore the Map holds the names of its variables as well as the value they have to contain in order to be accepted, but for simplicity reasons and because its not relevant to the question I wrote a simple Testclass for simulating the behaviour: public class TestObject { private int property1; private int property2; private int property3; public TestObject(int property1, int property2,