FabHotels Interview Question

What is predicate in java?