不支援 "collect in <source> *where*" 表示式
explanation
不支援將 ''where'' 放在 ''collect in source'' 表示式之後。在大部分情況下,您可以使用一般 if 取代 ''where'' 子句中的測試,來因應這項限制。舉例來說,如果您有 ''Collection c = collect Rule () in rules when (size() >2)'',您可以寫成:''Collection c = collect Rule () in rules;if (!(c.size() > 2) c = null;''。
© Copyright IBM Corporation 1987, 2017