Hi All,
I have a question.
Is adding/filling range numbers to an ArrayList possible in java??
Like this:
{<12345, 13455>, <12745, 13755>, <2345, 2755>, <5345, 9455>, <2700, 5240>, <345, 13455>,
<11345, 13000>}
You can think of these like time segments.
Here is the class to give you brief idea
import java.util.ArrayList;
import java.util.List;
class Sector {
int start;
int end;
public Sector(int start, int end) {
this.start = start;
this.end = end;
}
List<Sector> sectors = new ArrayList<Sector>();
for (int i = 0; i <7; i++) {
}
}
}