代码搜索:toString
找到约 10,000 项符合「toString」的源代码
代码结果 10,000
www.eeworm.com/read/339284/12245110
hpp pizza.hpp
#ifndef _HEAD_FIRST_DESIGN_PATTERNS_FACTORY_ABSTRACT_PIZZA_HPP_
#define _HEAD_FIRST_DESIGN_PATTERNS_FACTORY_ABSTRACT_PIZZA_HPP_
#include "Pizzaaf.hpp"
namespace HeadFirstDesignPatterns {
names
www.eeworm.com/read/339284/12245131
cpp 复件 pizzaaf.cpp
#include "Pizzaaf.hpp"
using namespace HeadFirstDesignPatterns::Factory::Abstract;
int main(int argc, char* argv[]) {
PizzaStore* nyStore = new NYPizzaStore();
PizzaStore* chicagoStore = new
www.eeworm.com/read/150914/12245480
java mutableinteger.java
//: appendixa:MutableInteger.java
// A changeable wrapper class.
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
import com.b
www.eeworm.com/read/150914/12245498
java cloning.java
//: appendixa:Cloning.java
// The clone() operation works for only a few
// items in the standard Java library.
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See
www.eeworm.com/read/150914/12245500
java immutablestrings.java
//: appendixa:ImmutableStrings.java
// Demonstrating StringBuffer.
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
import com
www.eeworm.com/read/150914/12245530
java orc.java
//: c06:Orc.java
// The protected keyword.
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
import com.bruceeckel.simpletest.*
www.eeworm.com/read/150914/12245568
java canonicalmapping.java
//: c11:CanonicalMapping.java
// Demonstrates WeakHashMap.
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
import java.util.*
www.eeworm.com/read/150914/12245593
java statistics.java
//: c11:Statistics.java
// Simple demonstration of HashMap.
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
import java.util.
www.eeworm.com/read/150914/12245601
java hamster.java
//: c11:Hamster.java
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
public class Hamster {
private int hamsterNumber;
www.eeworm.com/read/150914/12245608
java mouse.java
//: c11:Mouse.java
// Overriding toString().
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
public class Mouse {
privat