Search:

Type: Posts; User: dimiby

Search: Search took 0.20 seconds.

  1. Re: check all purchase using methos equals without operator if

    Sorry,

    its code:


    for(Purchase purchase : listShop)
    {
    //output in console
    System.out.println(purchase);
    //found max cost purchase
  2. Re: check all purchase using methos equals without operator if

    i mean, how use this code without if

    if(equalResult)
    {
    equalResult = purchase.equals(listShop[0]);
    }
  3. check all purchase using methos equals without operator if

    Hello
    How check all purchase using methos equals without operator if.

    I have next code:


    for(Purchase purchase : listShop)
    {
    //output in console
    ...
Results 1 to 3 of 3