@Override
    @SuppressWarnings("unchecked")
    public <T> T get(int pos, Class<T> javaClass) {
      return javaClass.cast(values[pos]);
    }
Implements {@link StructLike#get} for passing data in tests.
iceberg/iceberg-catalog/src/test/java/org/apache/iceberg/TestHelpers.java