git://source.jalview.org
/
jalview.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
JAL-2446 various get and find methods added with test coverage
[jalview.git]
/
test
/
jalview
/
datamodel
/
features
/
Range.java
1
package jalview.datamodel.features;
2
3
class Range implements ContiguousI
4
{
5
int start;
6
7
int end;
8
9
@Override
10
public int getBegin()
11
{
12
return start;
13
}
14
15
@Override
16
public int getEnd()
17
{
18
return end;
19
}
20
21
Range(int i, int j)
22
{
23
start = i;
24
end = j;
25
}
26
27
@Override
28
public String toString()
29
{
30
return String.valueOf(start) + "-" + String.valueOf(end);
31
}
32
}