代码搜索:toString
找到约 10,000 项符合「toString」的源代码
代码结果 10,000
www.eeworm.com/read/392244/8356125
java greenhousecontrols24.java
// innerclasses/GreenhouseControls24.java
// TIJ4 Chapter Innerclasses, Exercise 24, page 382
/* In GreenhouseControls.java, add Event inner classes that turn fans on and
* off. Configure Greenhous
www.eeworm.com/read/392244/8356166
java splitdemo14.java
// strings/SplitDemo14.java
// TIJ4 Chapter Strings, Exercise 14, page 541
// Rewrite SplitDemo using String.split().
import java.util.regex.*;
import java.util.*;
import static net.mindview.util
www.eeworm.com/read/392244/8356276
java music10.java
// interfaces/music10/Music10.java
// TIJ4 Chapter Interfaces, Exercise 10, page 320
/* Modify Music5.java by adding a Playable interface. Move the play() declaration
* from Instrument to Playable.
www.eeworm.com/read/392244/8356298
java music9.java
// interfaces/music9/Music9.java
// TIJ4 Chapter Interfaces, Exercise 9, page 320
/* Refactor Music5.java by moving the common methods in Wind, Percussion and
* Stringed into an abstract class.
*/
www.eeworm.com/read/370596/9592714
java new11.java
// generics.New11.java
// TIJ4 Chapter Generics, Exercise 11, page 635
// Test New.java by creating your own classes and ensuring that
// New will work properly with them.
import net.mindview.util
www.eeworm.com/read/370596/9592740
java shapes3(1).java
// typeinfo/Shapes3.java
// TIJ4 Chapter Typeinfo, Exercise 3, page 561
/* Add Rhomboid to Shapes.java. Create a Rhomboid, upcast it to a Shape,
* then downcast it back to a Rhomboid. Try downcasti
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/9592747
java shapes5.java
// typeinfo/Shapes5.java
// TIJ4 Chapter Typeinfo, Exercise 5, page 561
/* Implement a rotate(Shape) method in Shapes.java, such that it checks
* to see if it is rotating a Circle (and, if so, does
www.eeworm.com/read/370596/9592751
java showmethods18.java
// typeinfo/ShowMethods18.java
// TIJ4 Chapter Typeinfo, Exercise 18, page593
// Make ShowMethods a non-public class and verify that the synthesized default
// constructor no longer shows up in the
www.eeworm.com/read/370596/9592774
java shapes4(1).java
// typeinfo/Shapes4.java
// TIJ4 Chapter Typeinfo, Exercise 4, page 561
/* Modify the previous exercise so that it uses instancof to check the
* type before performing the downcast.
*/
import jav