代码搜索:Generics
找到约 1,477 项符合「Generics」的源代码
代码结果 1,477
www.eeworm.com/read/392244/8355617
java ex34.java
// generics/Ex34.java
// TIJ4 Chapter Generics, Exercise 34, page 709
/* Create a self-bounded generic type that contains an abstract method
* that takes an argument of the generic type parameter a
www.eeworm.com/read/392244/8355638
java dynamicproxymixin39.java
// generics/DynamicProxyMixin39.java
// TIJ4 Chapter Generics, Exercise 39, page 721
// Add a new mixin class Colored to DynamicProxyMixin.java, mix it into mixin and
// show that it works.
impor
www.eeworm.com/read/392244/8355641
java genericsequence.java
// generics/GenericSequence.java
// TIJ4 Chapter Generics, Exercise 4, page 624
// 'Generify' innerclasses/Sequence.java.
import java.util.*;
interface Selector {
boolean end();
Object curre
www.eeworm.com/read/370596/9592674
java tupletest15.java
// generics/TupleTest15.java
// TIJ4 Chapter Generics, Exercise 15, page 641
/* ... if you were to try to capture the result of f2() into a
* paramterized TwoTuple, the compiler would issue a warn
www.eeworm.com/read/370596/9592677
java holderex2.java
// generics/HolderEx2.java
// TIJ4 Chapter Generics, Exercise 2, page 621
/* Create a holder class that holds three objects of the same type along
* with the methods to store and fetch those objec
www.eeworm.com/read/370596/9592689
java classtypecapture21.java
// generics/ClassTypeCapture21.java
// TIJ4 Chapter Generics, Exercise 21, page 663
/* Modify ClassTypeCapture.java by adding a Map
www.eeworm.com/read/370596/9592710
java ex34.java
// generics/Ex34.java
// TIJ4 Chapter Generics, Exercise 34, page 709
/* Create a self-bounded generic type that contains an abstract method
* that takes an argument of the generic type parameter a
www.eeworm.com/read/370596/9592726
java dynamicproxymixin39.java
// generics/DynamicProxyMixin39.java
// TIJ4 Chapter Generics, Exercise 39, page 721
// Add a new mixin class Colored to DynamicProxyMixin.java, mix it into mixin and
// show that it works.
impor
www.eeworm.com/read/370596/9592727
java genericsequence.java
// generics/GenericSequence.java
// TIJ4 Chapter Generics, Exercise 4, page 624
// 'Generify' innerclasses/Sequence.java.
import java.util.*;
interface Selector {
boolean end();
Object curre
www.eeworm.com/read/414988/11087428
java tupletest15.java
// generics/TupleTest15.java
// TIJ4 Chapter Generics, Exercise 15, page 641
/* ... if you were to try to capture the result of f2() into a
* paramterized TwoTuple, the compiler would issue a warn