- Enclosing class:
- Vec
public final class Vec.Reader
extends java.lang.Object
A more efficient way to read randomly to a Vec - still single-threaded,
but much faster than Vec.at(i). Limited to single-threaded
single-machine reads.
Usage:
Vec.Reader vr = vec.new Reader();
x = vr.at(0);
y = vr.at(1);
z = vr.at(2);