You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
src/at/stefl/commons/util/collection/primitive/AbstractPrimitiveBooleanSet.java:5: error: name clash: iterator() in Collection and iterator() in Set have the same erasure, yet neither overrides the other
[javac] public abstract class AbstractPrimitiveBooleanSet extends
[javac] ^
[javac] where E#1,E#2 are type-variables:
[javac] E#1 extends Object declared in interface Collection
[javac] E#2 extends Object declared in interface Set
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
added the line to AbstractPrimitiveBooleanSet @OverRide
public abstract PrimitiveBooleanIterator iterator();
solve the problem.
The text was updated successfully, but these errors were encountered:
src/at/stefl/commons/util/collection/primitive/AbstractPrimitiveBooleanSet.java:5: error: name clash: iterator() in Collection and iterator() in Set have the same erasure, yet neither overrides the other
[javac] public abstract class AbstractPrimitiveBooleanSet extends
[javac] ^
[javac] where E#1,E#2 are type-variables:
[javac] E#1 extends Object declared in interface Collection
[javac] E#2 extends Object declared in interface Set
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
added the line to AbstractPrimitiveBooleanSet
@OverRide
public abstract PrimitiveBooleanIterator iterator();
solve the problem.
The text was updated successfully, but these errors were encountered: