mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
20 lines
304 B
Java
20 lines
304 B
Java
public interface Test<E> {
|
|
|
|
boolean remove(Object o);
|
|
|
|
/** @see TestImpl#remove(int) */
|
|
E remove<caret>(int idx);
|
|
}
|
|
|
|
public class TestImpl<E> implements Test<E> {
|
|
|
|
@Override
|
|
public boolean remove(Object o) {
|
|
return false;
|
|
}
|
|
|
|
@Override
|
|
public E remove(int idx) {
|
|
return null;
|
|
}
|
|
} |