When the compiler encounters a variable with a wildcard in its type, such as the box parameter of rebox , it knows that there must have been some t for which box is a box.
当编译器遇到一个在其类型中带有通配符的变量,比如rebox的box参数,它认识到必然有一些T,对这些t而言box是box。
When the compiler encounters a variable with a wildcard in its type, such as the box parameter of rebox , it knows that there must have been some t for which box is a box.
当编译器遇到一个在其类型中带有通配符的变量,比如rebox的box参数,它认识到必然有一些T,对这些t而言box是box。
应用推荐