我正在将 Android 代码移植到 BlackBerry 中..
下面是我的 Android 代码片段..
public Vector<InMapping> INMSGMAPPING;
public Vector<InMapping> getINMSGMAPPING() {
return INMSGMAPPING;
}
上面的代码给出以下错误:
generics are not supported in -source 1.3
[exec] (use -source 5 or higher to enable generics)
我知道发生上述错误是因为黑莓中不允许使用泛型..
是否有任何替代方案可以让我在 BlackBerry 中实现相同的功能。
谢谢。
最佳答案
关于java - 如何在 Blackberry 中使用 Vector<> 泛型,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10683080/