代码搜索:Exercise
找到约 10,000 项符合「Exercise」的源代码
代码结果 10,000
www.eeworm.com/read/313151/13595089
java ex10(4).java
// containers/Ex10.java
// TIJ4 Chapter Containers, Exercise 10, page 827
// Using a LinkedList as your underlying implementation,
// define your own SortedSet.
import java.util.*;
import static
www.eeworm.com/read/313151/13595092
java ex3(3).java
// containers/Ex3.java
// TIJ4 Chapter Containers, Exercise 3, page 809
/* Using Countries, fill a Set multiple times with the same data
* and verify that the Set ends up with only one of each ins
www.eeworm.com/read/313151/13595096
java ex2(4).java
// containers/Ex2.java
// TIJ4 Chapter Containers, Exercise 2, page 809
// Produce a Map and a Set containing all the countries that begin
// with 'A'.
import java.util.*;
import java.util.regex.
www.eeworm.com/read/313151/13595097
java ex8(5).java
// containers/Ex8.java
// TIJ4 Chapter Containers, Exercise 8, page 821
/* Create a generic, singly linked list class called SList, which, to keep
* things simple, does not implement the List inter
www.eeworm.com/read/313151/13595100
java ex7(3).java
// containers/Ex7.java
// TIJ4 Chapter Containers, Exercise 7, page 820
/* Create both an ArrayList and a LinkedList, and fill each using the
* Countries.names() generator. Print each list using a
www.eeworm.com/read/313151/13595101
java ex9(4).java
// containers/Ex9.java
// TIJ4 Chapter Containers, Exercise 9, page 827
// Use RandomGenerator.String to fill a TreeSet, but use alphabetic
// ordering. Print the TreeSet to verify the sort order.
www.eeworm.com/read/313151/13595130
java ex29(1).java
// generics/Ex29.java
// TIJ4 Chapter Generics, Exercise 29, page 694
/* Create a generic method that takes as an argument a Holder
www.eeworm.com/read/313151/13595144
java ex27(1).java
// generics/Ex27.java
// TIJ4 Chapter Generics, Exercise 27, page 680
// Show that covariancd doesn't work with Lists using Numbers and
// Integers, then introduce wildcards.
import java.util.*;
www.eeworm.com/read/313151/13595147
java genericcast33.java
// generics/GenericCast33.java
// TIJ4 Chapter Generics, Exercise 33, page 699
// Repair GenericCast.java using an ArrayList.
import java.util.*;
class VariableSizeStack {
private ArrayLis
www.eeworm.com/read/313151/13595152
java ex25(3).java
// generics/Ex25.java
// TIJ4 Chapter Generics, Exercise 25, page 677
/* Create two interfaces and a class that implements both. Create two
* generic methods, one whose argument parameter is bounde