Sun GlassFish Enterprise Server 2.1 版本說明

解決方案

使用其建構子建立另一集合;例如︰


myCollection = new ArrayList(java.util.Arrays.asList(a))