代码搜索:finalize
找到约 714 项符合「finalize」的源代码
代码结果 714
www.eeworm.com/read/214331/15106002
java date4.java
public class Date4
{
private int year,month,day; //实例变量,私有的
static int count=0; //类变量
public Date4(int y,int m,int d)
{
year = y;
www.eeworm.com/read/162614/5519656
c virtual7.c
// { dg-do assemble }
// { dg-options "-fno-rtti" }
// Origin: Anthony Green
class _JvObjectPrefix
{
protected:
virtual void finalize (void) = 0;
};
class Object : public _JvOb
www.eeworm.com/read/205013/15329971
test bindxfer.test
# 2005 April 21
#
# The author disclaims copyright to this source code. In place of
# a legal notice, here is a blessing:
#
# May you do good and not evil.
# May you find forgiveness for yourse
www.eeworm.com/read/200593/15429122
java date4.java
public class Date4
{
private int year,month,day; //实例变量,私有的
static int count=0; //类变量
public Date4(int y,int m,int d)
{
year = y;
www.eeworm.com/read/127438/6005324
c via_init.c
/* -*- Mode: C; c-basic-offset:4 ; -*- */
/*
* (C) 2001 by Argonne National Laboratory.
* See COPYRIGHT in top-level directory.
*/
#include "viaimpl.h"
#ifdef WITH_METHOD_VIA
VIA_PerProcess
www.eeworm.com/read/180649/9300209
hh md5.hh
// MD5.CC - source code for the C++/object oriented translation and
// modification of MD5.
// Translation and modification (c) 1995 by Mordechai T. Abzug
// This translation/ modificatio
www.eeworm.com/read/352191/10576046
txt review.txt
Object : 所有类的父类
<mark>finalize</mark>() : 对象垃圾回收的时候调用
toString() : 返回对象的字符串形式
equals() : 判断两个对象内容是否相等
对于自定义的类,我们应该覆盖equals方法
1. 自反性
2. 对称性
3. 传递性
4. 一致性
异常处理的概念
避免错误带来严重的后果, 异常处理的代码在错误发生时运行, "有了错误该干什 ...
www.eeworm.com/read/140278/13091178
cpp annlib.cpp
/*
* public/ann/annlib.cpp
* 2004-05-11 by ShanLanshan
*/
#include "public/ann/annbase.h"
#include "public/ann/annlib.h"
#include "public/ann/annfunc/annfunc.h"
namespace ann {
AnnLib:
www.eeworm.com/read/227622/14419378
cpp annlib.cpp
/*
* public/ann/annlib.cpp
* 2004-05-11 by ShanLanshan
*/
#include "public/ann/annbase.h"
#include "public/ann/annlib.h"
#include "public/ann/annfunc/annfunc.h"
namespace ann {
AnnLib:
www.eeworm.com/read/123868/14608012
cpp annlib.cpp
/*
* public/ann/annlib.cpp
* 2004-05-11 by ShanLanshan
*/
#include "public/ann/annbase.h"
#include "public/ann/annlib.h"
#include "public/ann/annfunc/annfunc.h"
namespace ann {
AnnLib: