JAL-2446 FeatureStore with NCList - work in progress
[jalview.git] / src / jalview / datamodel / features / SubList.java
1 package jalview.datamodel.features;
2
3 /**
4  * SubList holds the start and end index of a run of intervals where each is
5  * contained by (or the same as) the one preceding it.
6  * <p>
7  * SubList is used during the construction of an NCList
8  */
9 class SubList
10 {
11   /*
12    * the index of the sublist's first interval in the 'intervals' list
13    */
14   int startIndex;
15
16   /*
17    * the index of the sublist's last interval in the 'intervals' list
18    */
19   int endIndex;
20
21   SubList(int from, int to)
22   {
23     startIndex = from;
24     endIndex = to;
25   }
26
27 }