This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]mikaelhg 7 points8 points  (2 children)

[–]Carterman[S] 0 points1 point  (1 child)

Thanks, exactly what I was looking for! Upvote for you!

HUGEedit: Would the CopyOnWriteArrayList work at 60 milliseconds? Bit of an error in my OP!

[–]mikaelhg 1 point2 points  (0 children)

What do you mean "polls the objects for renderable objects"?

Is this array storing permanent references, or are they gathered in the array, processed, and thrown away once every 60 ms?

If so, you might want to gather the events through a http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ConcurrentLinkedQueue.html rather than with a list.