public boolean acceptWay ( ReaderWay way , AcceptWay acceptWay ) { if ( ! acceptWay . isEmpty ( ) ) throw new IllegalArgumentException ( "AcceptWay must be empty" ) ; for ( AbstractFlagEncoder encoder : edgeEncoders ) { acceptWay . put ( encoder . toString ( ) , encoder . getAccess ( way ) ) ; } return acceptWay . hasAccepted ( ) ; }
Determine whether a way is routable for one of the added encoders .