Adding a useful accessor method to TableFeature

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@4856 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
chartl 2010-12-16 18:11:51 +00:00
parent 6310a524d9
commit e406eb0f95
1 changed files with 8 additions and 0 deletions

View File

@ -53,4 +53,12 @@ public class TableFeature implements Feature {
public GenomeLoc getLocation() {
return this.position;
}
public List<String> getAllValues() {
return getValuesTo(values.size()-1);
}
public List<String> getValuesTo(int columnPosition) {
return values.subList(0,columnPosition);
}
}