代码搜索:composition
找到约 1,051 项符合「composition」的源代码
代码结果 1,051
www.eeworm.com/read/256102/12028010
cpp fig10_14.cpp
// Fig. 10.14: fig10_14.cpp
// Demonstrating composition--an object with member objects.
#include
using std::cout;
using std::endl;
#include "Employee.h" // Employee class definition
www.eeworm.com/read/152795/12081664
java transmogrify.java
//: c07:Transmogrify.java
// Dynamically changing the behavior of an object
// via composition (the "State" design pattern).
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEc
www.eeworm.com/read/150914/12246303
java transmogrify.java
//: c07:Transmogrify.java
// Dynamically changing the behavior of an object
// via composition (the "State" design pattern).
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEc
www.eeworm.com/read/124969/14521752
java transmogrify.java
//: c07:Transmogrify.java
// Dynamically changing the behavior of an object
// via composition (the "State" design pattern).
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEc
www.eeworm.com/read/210671/15193930
cpp fig07_04.cpp
// Fig. 7.4: fig07_04.cpp
// Demonstrating composition: an object with member objects.
#include
using std::cout;
using std::endl;
#include "emply1.h"
int main()
{
Employee
www.eeworm.com/read/208576/15243798
cpp fig10_14.cpp
// Fig. 10.14: fig10_14.cpp
// Demonstrating composition--an object with member objects.
#include
using std::cout;
using std::endl;
#include "Employee.h" // Employee class definition
www.eeworm.com/read/179906/5301385
java transmogrify.java
//: c07:Transmogrify.java
// Dynamically changing the behavior of an object
// via composition (the "State" design pattern).
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEc
www.eeworm.com/read/326711/3469863
cpp fig21_14.cpp
// Fig. 21.14: fig21_14.cpp
// Demonstrating composition--an object with member objects.
#include
using std::cout;
using std::endl;
#include "Employee.h" // Employee class definition
www.eeworm.com/read/360971/2955109
cpp fig17_04.cpp
// Fig. 17.4: fig17_04.cpp
// Demonstrating composition: an object with member objects.
#include
using std::cout;
using std::endl;
#include "emply1.h"
int main()
{
Employee
www.eeworm.com/read/252364/4409488
java transmogrify.java
//: c07:Transmogrify.java
// Dynamically changing the behavior of an object
// via composition (the "State" design pattern).
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEc