The IL we’ve generated for the generic type already has the method its going to call picked out.
我们为泛型生成的IL代码已经定好了将要去选出调用的方法。
For any array type, you can call Arrays.hashCode(arrayVar) and get a well formed hash code.
对于任意数组类型,都可以调用 Arrays.hashCode(arrayVar) 方法来获得格式良好的哈希码。
That is, there isn't actually any type called InputIterator: when you call find, the compiler substitutes the actual type of the arguments for the formal type parameters InputIterator and t.
也就是说,没有实际的类型InputIterator:当你调用find时,编译器会把他们替换成正式的类型。
应用推荐