OffsetTracker.java | 28 * This class allows the recording of both Offsettable items (that is, items that can be 30 * The idea in a nutshell is that for every Offsettable item we read, we remember 33 * the whole file, we use the map to find the Offsettable it pointed at. 34 * Then, as we write out the file, for every Offsettable we write out, we record its new position, 35 * using the order we collected earlier. For every Offset we write out, we look at its Offsettable 44 * Finally, we provide methods for adding new Offsettable items into the right place in the order 50 * the Offsettable it points to. (That Offsettable will contain 54 private Map<Integer, Offsettable> offsettableMap; 59 * the Offsettable.new_position field with the correct value wrt t 128 Offsettable offsettable = new Offsettable(item, false); local 130 offsettableMap.put(offsettable.getOriginalPosition(), offsettable); local 189 Offsettable offsettable = offsettableTable.get(offsettableTableIdx); local 418 Offsettable offsettable = new Offsettable(item, true); local 439 Offsettable offsettable = new Offsettable(item, true); local 461 Offsettable offsettable = new Offsettable(item, true); local 478 Offsettable offsettable = new Offsettable(item, true); local [all...] |