When you really think about this, in the end we all end up the same.
你仔细想想,到最后其实我们都是一样的。
We all end up in the same place.
我们最终的结局都一样。
If we now rerun the code to traverse all cars and their sensor readings, we are again confronted with the same problem that we had before, we end up with some leaves of our object graph being null.
如果我们重新运行代码遍历所有的汽车以及它们的感应器读数,我们将遭遇和前面一样的问题,我们获得的对象图表某些叶子节点为空。
应用推荐