(String eeFilePath)
| 75 | } |
| 76 | |
| 77 | private void init(String eeFilePath) { |
| 78 | this.eventsFile = new File(eeFilePath); |
| 79 | |
| 80 | if (BinaryEventsReader.isBinaryEeFile(eventsFile)) { |
| 81 | this.reader = new BinaryEventsReader(eventsFile); |
| 82 | } |
| 83 | else { |
| 84 | this.reader = new StandardEventsReader(eventsFile); |
| 85 | } |
| 86 | |
| 87 | this.queue = readEvents(nrofPreload); |
| 88 | this.nextEventIndex = 0; |
| 89 | } |
| 90 | |
| 91 | /** |
| 92 | * Returns next event's time or Double.MAX_VALUE if there are no |
no test coverage detected