代码搜索:Generics

找到约 1,477 项符合「Generics」的源代码

代码结果 1,477
www.eeworm.com/read/281848/9129792

java functional42.java

// generics/Functional42.java // TIJ4 Chapter Generics, Exercise 42, page 743 /* * Create two separate classes, with nothing in common. Each class should * hold a value, and at least have methods
www.eeworm.com/read/281848/9129805

java sixtupletest.java

// generics/SixTupleTest.java // TIJ4 Chapter Generics, Exercise 3, page 624 // Create and test a SixTuple generic. import net.mindview.util.*; class Robot {} class Amphibian {} class Vehicle
www.eeworm.com/read/281848/9129818

java classtypecapture24.java

// generics/ClassTypeCapture24.java // TIJ4 Chapter Generics, Exercise 24, page 667 // Modify Exercise 21 so that factory objects are held in the Map instead of Class. import java.util.*; impor
www.eeworm.com/read/281848/9129839

java fibonacci7.java

// generics/Fibonacci7.java // TIJ4 Chapter Generics, Exercise 7, page 631 // Use composition instead of inheritance to adapt Fibonacci // to make it interable. import net.mindview.util.*; import
www.eeworm.com/read/281848/9129889

java factoryconstraint23.java

// generics/FactoryConstraint23.java // TIJ4 Chapter Generics, Exercise 23, page 667 // Modify FactoryConstraint.java so that create() takes an argument. interface FactoryI { T create(Intege
www.eeworm.com/read/353439/10446428

java functional42.java

// generics/Functional42.java // TIJ4 Chapter Generics, Exercise 42, page 743 /* * Create two separate classes, with nothing in common. Each class should * hold a value, and at least have methods
www.eeworm.com/read/353439/10446442

java sixtupletest.java

// generics/SixTupleTest.java // TIJ4 Chapter Generics, Exercise 3, page 624 // Create and test a SixTuple generic. import net.mindview.util.*; class Robot {} class Amphibian {} class Vehicle
www.eeworm.com/read/353439/10446468

java classtypecapture24.java

// generics/ClassTypeCapture24.java // TIJ4 Chapter Generics, Exercise 24, page 667 // Modify Exercise 21 so that factory objects are held in the Map instead of Class. import java.util.*; impor
www.eeworm.com/read/353439/10446481

java fibonacci7.java

// generics/Fibonacci7.java // TIJ4 Chapter Generics, Exercise 7, page 631 // Use composition instead of inheritance to adapt Fibonacci // to make it interable. import net.mindview.util.*; import
www.eeworm.com/read/353439/10446538

java factoryconstraint23.java

// generics/FactoryConstraint23.java // TIJ4 Chapter Generics, Exercise 23, page 667 // Modify FactoryConstraint.java so that create() takes an argument. interface FactoryI { T create(Intege