/** * Seeds and returns the random generator with the associated id or creates it if it does not yet exist * @param id the id of the random generator * @param seed the seed to use * @return the random generator */ public static Random seedMapped(int id, long seed){ return factory.inseedMapped(id, seed); }
/** * Seeds and returns the random generator with the associated String id or creates it if it does not yet exist * @param id the id of the random generator * @param seed the seed to use * @return the random generator */ public static Random seedMapped(String id, long seed){ return factory.inseedMapped(id, seed); }