代码搜索:methods
找到约 10,000 项符合「methods」的源代码
代码结果 10,000
www.eeworm.com/read/494289/6381761
c mrlucas.c
/*
* MIRACL methods for evaluating lucas V function
* mrlucas.c (Postl's algorithm)
*
* Copyright (c) 1988-1999 Shamus Software Ltd.
*/
#include
#include "miracl.h"
v
www.eeworm.com/read/478118/6720123
java ex29(1).java
// generics/Ex29.java
// TIJ4 Chapter Generics, Exercise 29, page 694
/* Create a generic method that takes as an argument a Holder
www.eeworm.com/read/478118/6720145
java ex25(3).java
// generics/Ex25.java
// TIJ4 Chapter Generics, Exercise 25, page 677
/* Create two interfaces and a class that implements both. Create two
* generic methods, one whose argument parameter is bounde
www.eeworm.com/read/478118/6720210
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/478118/6720255
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/478118/6720374
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/407717/11411717
cpp intrpsp3.cpp
// intrpSP3.cpp
// Methods for reading and interpolating SP3 precise ephemerides
#include
#include
#include "datetime.h"
#include "intrpSP3.h"
using namespace std;
using namespac
www.eeworm.com/read/403011/11524338
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/403011/11524526
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/403009/11524643
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