Search:

Type: Posts; User: stut

Search: Search took 0.11 seconds.

  1. Re: How display the first elements and last elements of collection of objects?

    I have not code. But you could make a simple tip as a Arraylist has a substrig(index1,index2) method to display or extract appropriate objects in the sequence. I this situation I have question what...
  2. Re: How display the first elements and last elements of collection of objects?

    Or it is very simple with indexes that begins at 0 and ends with i-1. So olny by one: system.out.println(workers.get(1).to sring). Or i am not correctu in displaying it?
  3. Re: How display the first elements and last elements of collection of objects?

    Could you show how to do it in this collection Workers. It very simple as it is really to be? I surfed internet and say question about the first and the last one. And the answers were not so evident....
  4. Re: How display the first elements and last elements of collection of objects?

    I think most fittable class in this situation is Arraylist. It has the method get(). But it is awkward to show every item. Especially the last ones. The last is possible if it possible to define the...
  5. How display the first elements and last elements of collection of objects?

    For example we have the object created with the class that contain id, name and salary. The objects is posted by the salary and names if the salary is the same. What to do. We could not use indexes...
Results 1 to 5 of 5