コード例 #1
0
 @Override
 public void registerModelProvider(ModelProvider mp) {
   grm = mp.getModel(GraphRoadModel.class);
 }
コード例 #2
0
 @Override
 public void registerModelProvider(ModelProvider mp) {
   synchronized (this) {
     roadModel = Optional.fromNullable(mp.getModel(RoadModel.class));
   }
 }