代码搜索:Exercise
找到约 10,000 项符合「Exercise」的源代码
代码结果 10,000
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/370596/9592738
java toytest2.java
//typeinfo/toys/ToyTest2.java
// TIJ4 Chapter Typeinfo, Exercise 2, page 561
// Incorporate a new kind of interface into ToyTest.java and
// verify that it is detected and displayed properly.
pac
www.eeworm.com/read/370596/9592743
java ex8(3).java
// typeinfo/Ex8.java
// TIJ4 Chapter Typeinfo, Exercise 8, page 562
// Write a method that takes an object and recursively prints all
// the classes in that object's hierarchy.
class A {}
cl
www.eeworm.com/read/370596/9592746
java music26.java
// typeinfo/music268/Music268.java
// TIJ4 Chapter Typeinfo, Exercise 26, page 615
// Implement clearSpitValve() as described in the summary.
/* Solution includes, in same package:
* import java
www.eeworm.com/read/370596/9592748
java simpledynamicproxy23.java
// typeinfo/SimpleDynamicProxy23.java
// TIJ4 Chapter Typeinfo, Exercise 23, page 598
// Inside invoke() in SimpleDynamicProxy.java, try to print the proxy argument and explain
// what happens.
im