0
通过码时剪断在线重要性?在仿制药
public Collection<? extends GrantedAuthority> getAuthorities(Integer role) {
List<GrantedAuthority> authList = getGrantedAuthorities(getRoles(role));
return authList;
}
A.任何能告诉我是什么?
意味着什么?
B. <? extends GrantedAuthority>
哪个类扩展了GrantedAuthority?
C.在泛型中,我们在<>中提供类类型以确保类型安全,为什么有人想在<>中提供A扩展B?