Search:

Type: Posts; User: sabbath

Search: Search took 0.11 seconds.

  1. Replies
    5
    Views
    1,549

    Re: Ask objects with parameters in Arraylist

    Okay, I wonder now how I can say that I have dog with age 5 in list. This one says sentence so many as I have that item in list. How can I look through list without using for loop than?


    public...
  2. Replies
    5
    Views
    1,549

    Re: Ask objects with parameters in Arraylist

    I know that I could use Dogs.get(); to print out certain object from list but I want to print out everything if that if statement is filled. :D

    EDIT: It works now with that code. Anyway is there...
  3. Replies
    5
    Views
    1,549

    Ask objects with parameters in Arraylist

    I have a dog class type list which contains many objects of that class(many dogs each new object) with constructor input. For example list Dogs with type dog contains dog with weight, age, length:...
Results 1 to 3 of 3