public int compare( SimpleDataset o1, SimpleDataset o2 ) { // sort on dataset name then pmid SimpleDataset d1 = (SimpleDataset) o1; SimpleDataset d2 = (SimpleDataset) o2; int nameComparison = d1.getName().compareTo( d2.getName() ); if( nameComparison != 0 ) { return nameComparison; } return d1.getPmid().compareTo( d2.getPmid() ); } } );
public int compare( SimpleDataset o1, SimpleDataset o2 ) { // sort on dataset name then pmid SimpleDataset d1 = (SimpleDataset) o1; SimpleDataset d2 = (SimpleDataset) o2; int nameComparison = d1.getName().compareTo( d2.getName() ); if( nameComparison != 0 ) { return nameComparison; } return d1.getPmid().compareTo( d2.getPmid() ); } } );
public int compare( SimpleDataset o1, SimpleDataset o2 ) { // sort on dataset name then pmid SimpleDataset d1 = (SimpleDataset) o1; SimpleDataset d2 = (SimpleDataset) o2; int nameComparison = d1.getName().compareTo( d2.getName() ); if( nameComparison != 0 ) { return nameComparison; } return d1.getPmid().compareTo( d2.getPmid() ); } } );
currentDataset = dataset.getName();
currentDataset = dataset.getName();
currentDataset = dataset.getName();
"' by datasets '"+ dataset.getName() +"', skipping." );
"' by datasets '"+ dataset.getName() +"', skipping." );
"' by datasets '"+ dataset.getName() +"', skipping." );