Class LabelHeaders

Object
org.anchoranalysis.feature.io.csv.metadata.LabelHeaders

public class LabelHeaders
extends Object
Headers in a CSV file for the non-results (i.e. labels) part of a feature-row
Author:
Owen Feehan
  • Constructor Details

    • LabelHeaders

      public LabelHeaders​(String[] nonGroupHeaders)
      Creates with only non-group headers
      Parameters:
      nonGroupHeaders - headers describing the non-feature columns outputted in the CSV related to identifying a row
    • LabelHeaders

      public LabelHeaders​(String[] nonGroupHeaders, String[] groupHeaders)
  • Method Details

    • allHeaders

      public String[] allHeaders()
      The non-group and group headers combined (in this order respectively)
      Returns:
      the combined headers in a newly created array
    • getGroupHeaders

      public String[] getGroupHeaders()
      Headers describing the non-feature columns outputted in the CSV related to identifying the group of a row