在这个例子里,两个模式的唯一区别就是这个守卫表达式,但是这样足够编译器来区分它们了。
In this example, the only difference between the two patterns is the guard expression, but that's enough for the compiler to differentiate them.
根据该计划,120名联邦警察24小时守卫在靠近边界的一小块商业区。
Under the plan, 120 federal police kept a 24-hour guard on a small commercial area close to the border.
一队武装警卫抵达并守卫在牢房区大门处。
A group of armed guards have arrived and are waiting outside the gate.
应用推荐