type parameter is not within its bound
글쓴이: superwtk / 작성시간: 일, 2006/03/19 - 9:31오전
public interface Inheritable<E extends Entry> { ... }
public final class Post implements Inheritable<Post> { ... }
Compile time error: type parameter Post is not within its bound
이걸 해결하려면 어떻게 해야 할까요-_-a
Generics 안쓰고 수동으로-_- 구현하면 문제 없이 잘 됩니다.
Forums:
댓글 달기