代码搜索:Generics

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

代码结果 1,477
www.eeworm.com/read/353051/3091192

java watercolors.java

//: generics/watercolors/Watercolors.java package generics.watercolors; public enum Watercolors { ZINC, LEMON_YELLOW, MEDIUM_YELLOW, DEEP_YELLOW, ORANGE, BRILLIANT_RED, CRIMSON, MAGENTA, ROS
www.eeworm.com/read/395876/8147393

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/395876/8147419

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/395876/8147440

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/395876/8147453

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/395876/8147515

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/392244/8355560

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/392244/8355579

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/392244/8355599

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/392244/8355613

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