witting lamda expression.

Discussion in 'Programming' started by NelumKhan, May 4, 2014.

  1. #1
    i need someone to assist me in witting lamda expression.
    THE CODE IS ABOUT 15 LINES
    use this code snipt

    1. List<fruit> fruits = createFruitArrayList ();
    2. FritLargeApple=null;
    3. for(Fruit fruit:fruits){
    4. if(fruit.getType()==null
    5. largeApple = fruit;
    6. }
    7. }
    8. }

    just rewrite plz
     
    NelumKhan, May 4, 2014 IP
  2. sarahk

    sarahk iTamer Staff

    Messages:
    28,828
    Likes Received:
    4,541
    Best Answers:
    123
    Trophy Points:
    665
    #2
    homework?
     
    sarahk, May 4, 2014 IP