Recall that a predicate is a method with a Boolean return value. The Predicate
interface can be used to test whether a value fulfills a property. A class implementing this interface provides an invoke
method for carrying out a particular test.
The GenericUtil
class contains a generic static method that finds all values in an array that match a given predicate. Your task is to implement that method.