marcinmoskala
10/05/2019, 4:19 PMkarelpeeters
10/05/2019, 7:15 PMwasyl
10/05/2019, 7:25 PMA method is generic if it declares one or more type variables.
(https://docs.oracle.com/javase/specs/jls/se13/html/jls-8.html#jls-8.4.4). Nothing is said about enclosing class or interface, so I’d go for the option that generic function are the ones that have an explicit type parameter.marcinmoskala
10/05/2019, 9:06 PM