Hello!
following situation:
I have a LinkedList<temp>
with 10000 member objects.
Struct Temp
consists of fields Max
, Min
, Avg
and some other.
At some points I need the whole information of max, min, avg taken out and stored in a single dimension array ex: Double[] min
.
Currently I'm thinking of copyTo temp[]
and then use for loop to extract the min, max and store them to their arrays. But this feels wrong and I keep thinking that theres a easier way.
Is there an easier way?