public Label objectLabel(int i) {
        if (i >= size())
            throw new IllegalArgumentException("No label at position " + i + " in " + this);
        return labels[i];
    }
Returns label object at position i

@throws IllegalArgumentException if i is out of bounds
vespajlib/src/main/java/com/yahoo/tensor/PartialAddress.java