代码搜索:composition
找到约 1,051 项符合「composition」的源代码
代码结果 1,051
www.eeworm.com/read/370596/9592707
java fibonacci7.java
// generics/Fibonacci7.java
// TIJ4 Chapter Generics, Exercise 7, page 631
// Use composition instead of inheritance to adapt Fibonacci
// to make it interable.
import net.mindview.util.*;
import
www.eeworm.com/read/414988/11087466
java fibonacci7.java
// generics/Fibonacci7.java
// TIJ4 Chapter Generics, Exercise 7, page 631
// Use composition instead of inheritance to adapt Fibonacci
// to make it interable.
import net.mindview.util.*;
import
www.eeworm.com/read/334779/12574080
h d_queue.h
#ifndef QUEUE_CLASS
#define QUEUE_CLASS
#include // list class used by object composition
#include "d_except.h"
using namespace std;
// implements a queue
template
c
www.eeworm.com/read/103101/15745299
css edit.css
.Gen{POSITION: relative}.heading{BACKGROUND: #eeeeee;COLOR: #000000}.Composition{BACKGROUND-COLOR: menu;POSITION: relative}.yToolbar{BACKGROUND-COLOR: menu;BORDER-BOTTOM: buttonshadow 1px solid;BORDER
www.eeworm.com/read/188512/8532846
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/140892/13054193
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/138758/13217573
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/320605/13422374
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/124804/6040093
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/479166/6700103
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