コード例 #1
0
 @Override
 public boolean canConnectToPipe(MachineRegistry m) {
   return m.isStandardPipe()
       || m == MachineRegistry.HOSE
       || m == MachineRegistry.FUELLINE
       || m == MachineRegistry.VALVE;
 }
コード例 #2
0
 @Override
 public boolean canConnectToPipe(MachineRegistry m) {
   return m.isStandardPipe();
 }