Каково конкретное использование подстановочных знаков в дженериках? ⇐ JAVA
-
Anonymous
Каково конкретное использование подстановочных знаков в дженериках?
I am confused about the use of the wild cards in generics of java. I know how to use them but I don't understand when I should use them .
I have learnt that wild cards can be used like this
public static void sort(ArrayList
Источник: https://stackoverflow.com/questions/781 ... n-generics
I am confused about the use of the wild cards in generics of java. I know how to use them but I don't understand when I should use them .
I have learnt that wild cards can be used like this
public static void sort(ArrayList
Источник: https://stackoverflow.com/questions/781 ... n-generics
Мобильная версия