Probably confusing it with Java, where the only value types are the basic ones (unless you store each individual coord in a different array).
Until then, the best way currently, is to make use of Panama to create a C struct like memory layout, and have accessor methods for the low level details.