hoboy
December 29th, 2009, 01:47 PM
I have read this link
http://download.java.net/jdk7/docs/api/java/util/Collection.html
in order to understand an example I have seen
in the example there is a this method,
public < T extends Response> void excute(Action<T>action)
from the link upward I have looked at
addAll(Collection<? extends E> c)
but still I don't understand this <T extends Response>,
is this mean what I suspect ?
that T is a sub class of Response ?
http://download.java.net/jdk7/docs/api/java/util/Collection.html
in order to understand an example I have seen
in the example there is a this method,
public < T extends Response> void excute(Action<T>action)
from the link upward I have looked at
addAll(Collection<? extends E> c)
but still I don't understand this <T extends Response>,
is this mean what I suspect ?
that T is a sub class of Response ?