代码搜索:composition
找到约 1,051 项符合「composition」的源代码
代码结果 1,051
www.eeworm.com/read/158649/11596008
java transmogrify.java
//: c07:Transmogrify.java
// Dynamically changing the behavior of
// an object via composition.
import com.bruceeckel.simpletest.*;
abstract class Actor {
abstract void act();
}
class Hap
www.eeworm.com/read/344239/11895578
java car.java
//: reusing/Car.java
// Composition with public objects.
class Engine {
public void start() {}
public void rev() {}
public void stop() {}
}
class Wheel {
public void inflate(int ps
www.eeworm.com/read/152875/12076098
java kids6.java
//c3:Kids6.java
//author:ZhangHongbin
//This program is protected by copyright laws.
//composition of class.
class Mankind
{
void employed (int salaryValue)
{
if (salaryValue==0)
Sy
www.eeworm.com/read/456710/1603978
java isavemapcompositionformdata.java
package com.esri.solutions.jitk.web.tasks.mapcomp;
/**
* Defines an interface for retrieving form data when saving a Map
* Composition. The form data includes Name, Description, New flag, and
www.eeworm.com/read/414813/2142141
am makefile.am
SUBDIRS =
EXTRA_DIST =
# NOTES:
# ByteOrderDataInStream.{h,inl} needed by WKBReader.h for composition
# ByteOrderValues.h needed by ByteOrderDataInStream.inl for inlines
# ParseException.h needed
www.eeworm.com/read/386607/8735662
java improvedlist.java
package net.jcip.examples;
import java.util.*;
import net.jcip.annotations.*;
/**
* ImprovedList
*
* Implementing put-if-absent using composition
*
* @author Brian Goetz and Tim Peierls
*/
@T
www.eeworm.com/read/462448/7201619
asp newproduct.asp
function performCheck()
{
var cat = document.form.category.value;
var name = document.form.name.value;
var composition = document.form.compo
www.eeworm.com/read/140847/5779744
m direct_combine_pots.m
function pot = direct_combine_pots(pot1, pot2)
% DIRECTED_COMBINE_POTS The combination operation corresponds to ordinary composition of conditional distributions.
% In some sense is similar to that
www.eeworm.com/read/133943/5897927
m direct_combine_pots.m
function pot = direct_combine_pots(pot1, pot2)
% DIRECTED_COMBINE_POTS The combination operation corresponds to ordinary composition of conditional distributions.
% In some sense is similar to that
www.eeworm.com/read/158649/11595005
java placesetting.java
//: c06:PlaceSetting.java
// Combining composition & inheritance.
import com.bruceeckel.simpletest.*;
class Plate {
Plate(int i) {
System.out.println("Plate constructor");
}
}
clas