Abstracted JArrayHelper usage