2 Comments

  1. Keerthi Narra

    The Predicate example given has to be changed to –

    Predicate gt_lt = i -> (Integer)i > 0 ;

    Casting from Object to Integer is required.

    Reply

Leave a Reply.. code can be added in <code> </code> tags