代码搜索:Generics

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

代码结果 1,477
www.eeworm.com/read/333003/12711654

java genericmethods10.java

// generics/GenericMethods10.java // TIJ4 Chapter Generics, Exercise 10, page 633 // Modify the previous exercise so that one of f()'s arguments // is non-parameterized. public class GenericMeth
www.eeworm.com/read/329503/12951253

c saa7115.c

/* * Copyright 2003 by Texas Instruments Incorporated. * All rights reserved. Property of Texas Instruments Incorporated. * Restricted rights to use, duplicate or disclose this code are *
www.eeworm.com/read/325023/13232263

java manipulator2.java

//: generics/Manipulator2.java class Manipulator2 { private T obj; public Manipulator2(T x) { obj = x; } public void manipulate() { obj.f(); } } ///:~
www.eeworm.com/read/325023/13232314

java manipulator3.java

//: generics/Manipulator3.java class Manipulator3 { private HasF obj; public Manipulator3(HasF x) { obj = x; } public void manipulate() { obj.f(); } } ///:~
www.eeworm.com/read/325023/13232331

java crgwithbasicholder.java

//: generics/CRGWithBasicHolder.java class Subtype extends BasicHolder {} public class CRGWithBasicHolder { public static void main(String[] args) { Subtype st1 = new Subtype(),
www.eeworm.com/read/325023/13232373

java unconstrained.java

//: generics/Unconstrained.java class Other {} class BasicOther extends BasicHolder {} public class Unconstrained { public static void main(String[] args) { BasicOther b = new Ba
www.eeworm.com/read/325023/13232393

java uselist2.java

//: generics/UseList2.java import java.util.*; public class UseList2 { void f1(List v) {} void f2(List v) {} } ///:~
www.eeworm.com/read/315658/13538904

c saa7115.c

/* * Copyright 2003 by Texas Instruments Incorporated. * All rights reserved. Property of Texas Instruments Incorporated. * Restricted rights to use, duplicate or disclose this code are *
www.eeworm.com/read/315658/13538920

c saa7115.c

/* * Copyright 2003 by Texas Instruments Incorporated. * All rights reserved. Property of Texas Instruments Incorporated. * Restricted rights to use, duplicate or disclose this code are *
www.eeworm.com/read/313151/13595149

java genericmethods10.java

// generics/GenericMethods10.java // TIJ4 Chapter Generics, Exercise 10, page 633 // Modify the previous exercise so that one of f()'s arguments // is non-parameterized. public class GenericMeth