question: public void addPaths ( Reader input , int nodeType ) throws IOException { this . nodeType = nodeType ; String type ; String contents ; init ( input ) ; while ( ( type = nextType ( ) ) != null ) { if ( type . equals ( LINESTRING ) ) { contents = readNestedContents ( ) ; updateMap ( parseLineString ( contents ) ) ; } else if ( type . equals ( MULTILINESTRING ) ) { for ( List < Coord > list : parseMultilinestring ( ) ) { updateMap ( list ) ; } } else { readNestedContents ( ) ; } } }
target:  Add paths to current path set. Adding paths multiple times has the same result as concatenating the data before adding it.