format/src/main/java/com/github/sadikovi/riff/FileFooter.java
/**
   * Create file footer from list of stripe information.
   * @param fileStats file statistics
   * @param numRecords number of records
   * @param stripes list of stripe info
   * @return file footer
   */
Create file footer from list of stripe information.
@param fileStats file statistics
@param numRecords number of records
@param stripes list of stripe info
@return file footer
Create file footer from list of stripe information . @param fileStats file statistics @param numRecords number of records @param stripes list of stripe info @return file footer
public static FileFooter create(
      Statistics[] fileStats, long numRecords, List<StripeInformation> stripes) {
    StripeInformation[] arr = new StripeInformation[stripes.size()];
    int i = 0;
    while (i < arr.length) {
      arr[i] = stripes.get(i);
      ++i;
    }
    return new FileFooter(fileStats, numRecords, arr, null);
  }
public static FileFooter create ( Statistics [ ] fileStats , long numRecords , List < StripeInformation > stripes ) { StripeInformation [ ] arr = new StripeInformation [ stripes . size ( ) ] ; int i = 0 ; while ( i < arr . length ) { arr [ i ] = stripes . get ( i ) ; ++ i ; } return new FileFooter ( fileStats , numRecords , arr , null ) ; }
Create file footer from list of stripe information.
Create file footer from list of stripe information .