public DefaultMapWay(long id){
  this.id=id;
  nodes=Collections.emptyList();
  latMinIdx=-1;
}

public DefaultMapWay ( long id ) { this . id = id ; nodes = Collections . emptyList ( ) ; latMinIdx = - 1 ; }
creates a way with a specified id .
