代码搜索:methods
找到约 10,000 项符合「methods」的源代码
代码结果 10,000
www.eeworm.com/read/352425/10553353
java cookiemonster.java
// access/cookie2/CookieMonster.java
// TIJ4 Chapter Access, Exercise 4, page 227
// Show that protected methods have package access but are not public.
/* In directory Cookie2:
* //access/cooki
www.eeworm.com/read/352425/10553418
java ex10.java
// polymorphism/Ex10.java
// TIJ4 Chapter Polymorphism, Exercise 10, page 290
/* Create a base class with two methods. In the first method, call the second
* method. Inherit a class and override th
www.eeworm.com/read/352425/10553722
java games19.java
// interfaces/Games19.java
// TIJ4 Chapter Interfaces, Exercise 19, page 342
/* Create a framework using Factory Methods that performs both coin
* tossing and dice tossing.
*/
import java.util.*;
www.eeworm.com/read/278058/10577538
cpp mytime3.cpp
// mytime3.cpp -- implementing Time methods
#include "mytime3.h"
Time::Time()
{
hours = minutes = 0;
}
Time::Time(int h, int m )
{
hours = h;
minutes = m;
}
void Time::Ad
www.eeworm.com/read/278058/10578099
cpp acctabc.cpp
// acctabc.cpp -- bank account class methods
#include
#include
using std::cout;
using std::ios_base;
using std::endl;
#include "acctabc.h"
// Abstract Base Class
AcctA
www.eeworm.com/read/276526/10731713
h stack.h
enum Error_code{ underflow,overflow,success};
template
class Stack{
public:
// Standard Stack methods
Stack();
bool empty() const;
Error_code push(const T &item);
Error_c
www.eeworm.com/read/420691/10780585
h pf_filehandle.h
/*
* This file defines the PF_FileHandle class. The methods
* of this class can be used to manipulate a paged file.
*/
#ifndef PF_FILEHANDLE_H
#define PF_FILEHANDLE_H
#include
#in
www.eeworm.com/read/349903/10786136
c mrpower.c
/*
* MIRACL methods for modular exponentiation
* mrpower.c
*
* Copyright (c) 1988-1999 Shamus Software Ltd.
*/
#include
#include
void nres_powltr(_MIPD_ in
www.eeworm.com/read/349902/10786303
m multi_voi_avg.m
function multi_voi_avg
% multi_voi_avg - generate Multi-VOI averaging plots
%
% FORMAT: multi_voi_avg
%
% Note: all input will be handled by uiget* methods
% Bettina's script for automa
www.eeworm.com/read/417019/11007028
js 5.03 - wrappers for page specific code.js
/* Generic Page Object. */
Namespace.PageName = {
// Page constants.
CONSTANT_1: true,
CONSTANT_2: 10,
// Page methods.
method1: function() {
},
method2: function() {
},
// Ini