14 lines
342 B
Java
14 lines
342 B
Java
// generics/SimplerPets.java
|
|
// ©2015 MindView LLC: see Copyright.txt
|
|
import typeinfo.pets.*;
|
|
import java.util.*;
|
|
import com.mindviewinc.util.*;
|
|
|
|
public class SimplerPets {
|
|
public static void main(String[] args) {
|
|
Map<Person, List<? extends Pet>> petPeople = New.map();
|
|
// Rest of the code is the same...
|
|
}
|
|
}
|
|
/* Output: (None) */
|