コード例 #1
0
 public OSMReaderHelperDoubleParse(GraphStorage storage, long expectedNodes) {
   super(storage, expectedNodes);
   dir = storage.directory();
   pillarLats = dir.findCreate("tmpLatitudes");
   pillarLons = dir.findCreate("tmpLongitudes");
   // TODO check out if we better should use http://en.wikipedia.org/wiki/Segment_tree
   osmIdToIndexMap = new BigLongIntMap(expectedNodes, EMPTY);
 }