public List toList()

in google-cloud-spanner-hibernate-dialect/src/main/java/com/google/cloud/spanner/hibernate/types/SpannerDateArray.java [44:51]


  public List<LocalDate> toList(Array array) throws SQLException {
    Date[] dates = (Date[]) array.getArray();
    List<LocalDate> result = new ArrayList<>(dates.length);
    for (int i = 0; i < dates.length; i++) {
      result.add(dates[i] == null ? null : dates[i].toLocalDate());
    }
    return result;
  }