Search:

Type: Posts; User: Sputnik

Search: Search took 0.09 seconds.

  1. Re: Pick random objects from array/arraylist. Newbie.

    After wrapping my head around the problem I've come up with the solution for unique objects using random generator:


    class pickRand{
    public static Ticket [] get(ArrayList <Ticket> jipp){
    ...
  2. Re: Pick random objects from array/arraylist. Newbie.

    copeg

    Your answer was a little advanced for me, but I took the bits and working on it.. Thank you! Here's what I've come up with. Example of a lottery drawing:

    Code:
    import java.util.*;...
  3. Pick random objects from array/arraylist. Newbie.

    Hey all!

    The only thing left that bugs me in my into java class is this - picking random objects from arrays or arraylists or wherever. After that I'm sailing free and moving to more advanced...
Results 1 to 3 of 3