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
Due to conflicting default method implementations:
aQute.libg/src/aQute/lib/collections/SortedList.java:31: error: types List<T> and SortedSet<T> are incompatible;
public class SortedList<T> implements SortedSet<T>, List<T> {
^
both define reversed(), but with unrelated return types
where T is a type-variable:
T extends Object declared in class SortedList
Should be as simple as implementing these methods:
T getFirst()
T getLast()
void addFirst(T e)
void addLast(T e)
T removeFirst()
T removeLast()
SortedList<T> reversed()
The text was updated successfully, but these errors were encountered:
Due to conflicting default method implementations:
Should be as simple as implementing these methods:
The text was updated successfully, but these errors were encountered: