Advertisement
Guest User

Untitled

a guest
Oct 26th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. public double getMaximumPrice(){
  2.  
  3. for (Double priceMax : priceList){
  4. if (priceList.get() > priceMax){
  5. priceMax = priceList.get();
  6. }
  7. }
  8. return priceMax;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement