mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 12:16:49 +00:00
6 lines
157 B
Java
6 lines
157 B
Java
import java.util.*;
|
|
public class CastWithIntersection {
|
|
public void test(List<?> list) {
|
|
RandomAccess r = (RandomAccess & java.io.Serializable) list;
|
|
}
|
|
} |