代码搜索:Generics
找到约 1,477 项符合「Generics」的源代码
代码结果 1,477
www.eeworm.com/read/414988/11087490
java genericcast33.java
// generics/GenericCast33.java
// TIJ4 Chapter Generics, Exercise 33, page 699
// Repair GenericCast.java using an ArrayList.
import java.util.*;
class VariableSizeStack {
private ArrayLis
www.eeworm.com/read/414988/11087492
java limitsofinference12.java
// generics/LimitsOfInference12.java
// TIJ4 Chapter Generics, Exercise 12, page 635
// Repeat the previous exercise using explicit type specification.
import typeinfo.pets.*;
import java.util.*;
www.eeworm.com/read/414988/11087501
java ex25(3).java
// generics/Ex25.java
// TIJ4 Chapter Generics, Exercise 25, page 677
/* Create two interfaces and a class that implements both. Create two
* generic methods, one whose argument parameter is bounde
www.eeworm.com/read/430096/8766432
java sets17.java
// generics/Sets17.java
// TIJ4 Chapter Generics, Exercise 17, page 645
/* Study the JDK documentation for EnumSet. You'll see that there's a
* clone() method defined. However, you cannot clone()
www.eeworm.com/read/430096/8766466
java randomlist6.java
// generics/RandomList6.java
// TIJ4 Chapter Generics, Exercise 6, page 627
// Use RandomList with two more types in addition to the one shown in main().
import java.util.*;
import typeinfo.pets.*
www.eeworm.com/read/430096/8766468
java ocean18.java
// generics/Ocean18.java
// TIJ4 Chapter Generics, Exercise 18, page 647
// Following the form of BankTeller.java, create an example where
// BigFish eat LittleFish in the ocean.
import net.mindvi
www.eeworm.com/read/430096/8766538
java ex12(1).java
// typeinfo/Ex12.java
// TIJ4 Chapter Typeinfo, Exercise 12, page 582
// Use TypeCounter with the CoffeeGenerator.java class in the Generics chapter.
import generics.coffee.*;
import net.mindview.
www.eeworm.com/read/281848/9129814
java sets17.java
// generics/Sets17.java
// TIJ4 Chapter Generics, Exercise 17, page 645
/* Study the JDK documentation for EnumSet. You'll see that there's a
* clone() method defined. However, you cannot clone()
www.eeworm.com/read/281848/9129846
java randomlist6.java
// generics/RandomList6.java
// TIJ4 Chapter Generics, Exercise 6, page 627
// Use RandomList with two more types in addition to the one shown in main().
import java.util.*;
import typeinfo.pets.*
www.eeworm.com/read/281848/9129851
java ocean18.java
// generics/Ocean18.java
// TIJ4 Chapter Generics, Exercise 18, page 647
// Following the form of BankTeller.java, create an example where
// BigFish eat LittleFish in the ocean.
import net.mindvi