Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Java (https://www.askmehelpdesk.com/forumdisplay.php?f=440)
-   -   Don't undestand the java syntax (https://www.askmehelpdesk.com/showthread.php?t=809849)

  • Mar 28, 2015, 02:26 PM
    ovod88
    Don't undestand the java syntax
    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) {}
    ?

  • All times are GMT -7. The time now is 03:10 PM.