OnJava8-Examples/generics/ExplicitTypeSpecification.java
2015-09-07 11:44:36 -06:00

14 lines
361 B
Java

// generics/ExplicitTypeSpecification.java
// ©2015 MindView LLC: see Copyright.txt
import typeinfo.pets.*;
import java.util.*;
import com.mindviewinc.util.*;
public class ExplicitTypeSpecification {
static void f(Map<Person, List<Pet>> petPeople) {}
public static void main(String[] args) {
f(New.<Person, List<Pet>>map());
}
}
/* Output: (None) */