Logo Search packages:      
Sourcecode: jakarta-jmeter version File versions  Download package

void org::apache::jorphan::collections::Data::setHeaders ( String[]  h  )  [inline]

Sets the headers for the data set. Each header represents a column of data. Each row's data can be gotten with the column header name, which will always be a string.

h array of strings representing the column headers. these must be distinct - duplicates will cause incorrect behaviour

Definition at line 471 of file Data.java.

Referenced by setData().

        int x = 0;
        header = new ArrayList(h.length);
        for (x = 0; x < h.length; x++) {
            data.put(h[x], new ArrayList());

Generated by  Doxygen 1.6.0   Back to index