代码搜索:Generics

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

代码结果 1,477
www.eeworm.com/read/478118/6720110

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/478118/6720117

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/478118/6720124

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/478118/6720129

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/478118/6720143

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/249894/12463295

cs ptrie.cs

using System; using Perst; #if USE_GENERICS using System.Collections.Generic; #else using System.Collections; #endif namespace Perst.Impl { #if USE_GENERICS class PTrie : Persistent
www.eeworm.com/read/249894/12463414

cs ttreepage.cs

using System; #if USE_GENERICS using System.Collections.Generic; #else using System.Collections; #endif namespace Perst.Impl { #if USE_GENERICS class TtreePage : Persistent wher
www.eeworm.com/read/343323/3221092

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/449042/1682925

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/446978/1707754

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