Function TopN.getElements

Get the elements currently in the struct. Returns a reference to internal state, elements will be in an arbitrary order. Cheap.

T[] getElements ();