mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
19 lines
308 B
Java
19 lines
308 B
Java
|
|
class Main {
|
|
|
|
public interface Entity<T> {
|
|
}
|
|
|
|
public interface HasOrder {
|
|
|
|
}
|
|
|
|
public static <T extends Entity<K> & HasOrder, K> void beforeRemove(T item) {
|
|
|
|
}
|
|
|
|
public static void main(String[] args) {
|
|
Object o = null;
|
|
beforeRemove( (Entity & HasOrder) o);
|
|
}
|
|
} |