Log in

View Full Version : Don't undestand the java syntax


ovod88
Mar 28, 2015, 02:26 PM
I have empty method I need to fill up:
Protected static <T extends Entity> List<T> all(Class<T> cls) {}
The problem is - I don't undestand the suntax of the method. Why we can not do just:
Protected static List<T> all(Class<T> cls) {}
?