Commit Graph

4 Commits

Author SHA1 Message Date
Corentin Le Molgat
d054c53c74 Java: Use lambda in Constraint Solver 2019-02-12 11:06:27 +01:00
Corentin Le Molgat
4ffa33bf0c Fix TestRouting.java
- a lambda cannot specify its output type (contrary to C++)
2019-02-06 09:00:23 +01:00
Corentin Le Molgat
483dacbc28 Java: Routing [Unary]Transit callback use @FunctionalInterface
- fix the java WeakGlobalRef leak...
- Now samples use lambda when possible for transit callback
  - keep class in Tsp.java to see how it works
2019-02-05 12:05:57 +01:00
Corentin Le Molgat
3ad89c61d2 Add Java tests for Constraint Solver & Routing Solver 2019-02-05 12:05:57 +01:00