It also checks to see if the Accept header is missing or null for the default case.
还将检查Accept标头在缺省情况下是缺失还是为空。
Finally, when designing pattern matching statements, be wary of relying on a default case clause.
最后,当设计模式匹配指令时,对于默认case的依赖要小心。
The last case clause handles any other message instance, thereby functioning as the default case.
最后一个case处理所有其它任何类型的消息实例,作用和default(默认)case一样。
Note: There is no "KDC" or "admin_server" entry for this type of configuration under the [realm] stanza, unlike in the default case.
注意:与缺省情况不同的是,对于这种配置类型,在[realm]节之下没有相应的“kdc ”或者“ admin_server ”条目。
So all of the cases are already handled, and any branches to weed out extra teardown steps will only serve to slow down the default case.
所以所有情况都已经得到了处理,清除额外的结束步骤的任何分支只会减慢对默认情况的处理。
In the musings above, the EJB Advocate wondered: why not provide for both by enabling flexibility but having a default case that makes things simple?
在前面的思考中,ejb倡导者琢磨着:为什么不能够二者兼顾:既有灵活性又有一种缺省情况来使事情简单化呢?
You may include a "default" case at the end of a pattern match, either using the underscore wild card character or a meaningfully-named variable.
你可以在模式匹配的最后包含一个“default”默认case,可以使用下划线通配符,或者有含义的变量名。
You may include a "default" case at the end of a pattern match, either using the underscore wild card character or a meaningfully-named variable.
你可以在模式匹配的最后包含一个“default”默认case,可以使用下划线通配符,或者有含义的变量名。
应用推荐