public void load(List<PolicyQualifierInfo> policyQualifierInfo){
  PolicyQualifierInfo[] policyQualifierInfoArray=policyQualifierInfo.toArray(new PolicyQualifierInfo[policyQualifierInfo.size()]);
  Arrays.sort(policyQualifierInfoArray,new PolicyQualifierInfoComparator());
  data=new Object[policyQualifierInfoArray.length][1];
  int i=0;
  for (  PolicyQualifierInfo policyQualInfo : policyQualifierInfoArray) {
    data[i][0]=policyQualInfo;
    i++;
  }
  fireTableDataChanged();
}

public void load ( List < PolicyQualifierInfo > policyQualifierInfo ) { PolicyQualifierInfo [ ] policyQualifierInfoArray = policyQualifierInfo . toArray ( new PolicyQualifierInfo [ policyQualifierInfo . size ( ) ] ) ; Arrays . sort ( policyQualifierInfoArray , new PolicyQualifierInfoComparator ( ) ) ; data = new Object [ policyQualifierInfoArray . length ] [ 1 ] ; int i = 0 ; for ( PolicyQualifierInfo policyQualInfo : policyQualifierInfoArray ) { data [ i ] [ 0 ] = policyQualInfo ; i ++ ; } fireTableDataChanged ( ) ; }
load the policyqualifierinfotablemodel with policy qualifier info .
