9 lines
174 B
Java
9 lines
174 B
Java
//: generics/UseList2.java
|
|
// ©2015 MindView LLC: see Copyright.txt
|
|
import java.util.*;
|
|
|
|
public class UseList2<W,T> {
|
|
void f1(List<T> v) {}
|
|
void f2(List<W> v) {}
|
|
} ///:~
|