我正在尝试将 Ice4j 导出到一个 jar 文件以在我的项目中使用,但是出现了一个错误,我不知道如何修复它,因为我以前从未见过它,而且谷歌对此知之甚少。我直接从 svn 复制了文件,没有进行任何编辑,所以我将在下面发布源代码。
Duplicate methods named spliterator with the parameters () and () are inherited from the types Collection<CandidateHarvester> and Iterable<CandidateHarvester>
Duplicate methods named spliterator with the parameters () and () are inherited from the types Set<CandidateHarvester> and Collection<CandidateHarvester>
代码如下:
public class CandidateHarvesterSet
extends AbstractSet<CandidateHarvester>
{