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:
parent
6310a524d9
commit
e406eb0f95
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue