Mercurial > repos > pfrommolt > ngsrich
comparison NGSrich_0.5.5/src/datastructures/ReadFrame.java @ 0:89ad0a9cca52 default tip
Uploaded
author | pfrommolt |
---|---|
date | Mon, 21 Nov 2011 08:12:19 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:89ad0a9cca52 |
---|---|
1 package datastructures; | |
2 | |
3 public class ReadFrame extends Frame{ | |
4 | |
5 private String chrom, name; | |
6 | |
7 public ReadFrame(String name,String chrom, int start, int end) { | |
8 super(start, end-start+1); | |
9 this.chrom = chrom; this.name = name; | |
10 } | |
11 | |
12 public String chrom(){ | |
13 return chrom; | |
14 } | |
15 | |
16 public String name(){ | |
17 return name; | |
18 } | |
19 | |
20 public int size(){ | |
21 return end-start+1; | |
22 } | |
23 } |