代码搜索:clone
找到约 4,459 项符合「clone」的源代码
代码结果 4,459
www.eeworm.com/read/158942/10715312
pas batchupdatesu1.pas
unit BatchUpdatesU1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, DBGrids, ExtCtrls, DB, ADODB, StdCtrls;
type
TForm1 = c
www.eeworm.com/read/276301/10750579
java clonedemo.java
class Person implements Cloneable//必须声明实现Cloneable接口
{
String name;
int age;
Person(String n, int a)
{ name = n; age = a; }
public Object clone() //子类应覆盖此方法
{
try
www.eeworm.com/read/350133/10764011
cs class1.cs
// Prototype pattern -- Real World example
using System;
using System.Collections;
namespace DoFactory.GangOfFour.Prototype.RealWorld
{
// MainApp test application
class Main
www.eeworm.com/read/275970/10780338
makefile
#
# $Id: Makefile,v 1.4 2000/04/10 22:22:33 wakkerma Exp $
#
all: vfork fork sig skodic clone
clean distclean:
rm -f clone vfork fork sig *.o core
www.eeworm.com/read/349668/10806065
txt 好文--jive 中的设计模式 (转自ibm developerworks).txt
作者:jeru
email: jeru@163.net
日期:7/13/2001 5:48:02 PM
Jive 中的设计模式
(Design Pattern)
马旋
2001年 5月
摘要:Jive 是一个开放源码的论坛项目, 也就是我们所常见的 BBS, 采用了 SUN 公司的 JSP 技术, 相比起 j2ee 这个庞大的体系结构, 其整个
www.eeworm.com/read/349343/10834350
cpp prototype.cpp
//Prototype.cpp
#include "Prototype.h"
#include
using namespace std;
Prototype::Prototype()
{
}
Prototype::~Prototype()
{
}
Prototype* Prototype::Clone() const
{
www.eeworm.com/read/349343/10834359
cpp main.cpp
//main.cpp
#include "Prototype.h"
#include
using namespace std;
int main(int argc,char* argv[])
{
Prototype* p = new ConcretePrototype();
Prototype* p1 = p->Clone();
return
www.eeworm.com/read/274802/10851796
java localcopy.java
//: appendixa:LocalCopy.java
// From 'Thinking in Java, 2nd ed.' by Bruce Eckel
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
// Creating local copies with clone().
import java.uti
www.eeworm.com/read/274802/10851799
java horrorflick.java
//: appendixa:HorrorFlick.java
// From 'Thinking in Java, 2nd ed.' by Bruce Eckel
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
// You can insert Cloneability
// at any level of i
www.eeworm.com/read/274802/10851801
java snake.java
//: appendixa:Snake.java
// From 'Thinking in Java, 2nd ed.' by Bruce Eckel
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
// Tests cloning to see if destination
// of references ar