github

VROOM-Project/vroom-scripts

VROOM-Project/vroom-scripts Users starred: 10Users forked: 3Users watching: 10Updated at: 2020-05-13 23:59:07 Scripts The src folder contains a bunch of scripts to develop, benchmark, debug or help in using VROOM. plot generates a simple svg visualisation for a solution file. overpass_to_json generates a problem from all OSM nodes with a specific key=value tag in a chosen bounding box or city. random_problem generates a...

stackoverflow.com stackoverflow.com

Proper design pattern for an object with generic parameter of method

I have the following problem, I want to be able to authenticate through 3 different sources : firebase, gmail and facebook. Firebase has login/register method, gmail has login method and facebook has login method as well they all take a different parameter like : AccessToken, Intent or LoginData object and return a User object, now I would ike to make a factory that returns ILoginAuthenticator interface or IRegisterAuthenticator...