代码搜索:methods
找到约 10,000 项符合「methods」的源代码
代码结果 10,000
www.eeworm.com/read/333725/12663109
java springutilities.java
import javax.swing.*;
import javax.swing.SpringLayout;
import java.awt.*;
/**
* A 1.4 file that provides utility methods for
* creating form- or grid-style layouts with SpringLayout.
* These utili
www.eeworm.com/read/333254/12692886
cpp stonewt1.cpp
// stonewt1.cpp -- Stonewt class methods + conversion functions
#include
using std::cout;
#include "stonewt1.h"
// construct Stonewt object from double value
Stonewt::Stonewt(double
www.eeworm.com/read/333254/12693007
cpp studenti.cpp
// studenti.cpp -- Student class using private inheritance
#include "studenti.h"
using std::ostream;
using std::endl;
using std::istream;
using std::string;
// public methods
double Student::
www.eeworm.com/read/333254/12693025
cpp studentc.cpp
// studentc.cpp -- Student class using containment
#include "studentc.h"
using std::ostream;
using std::endl;
using std::istream;
using std::string;
//public methods
double Student::Average()
www.eeworm.com/read/333003/12711494
java ifelsetest.java
// control/IfEsleTest.java
// TIJ4 Chapter Control, Exercise 6, page 144
/* Modify the two test() methods in the previous two programs so that they take
* two extra arguments begin and end, and so
www.eeworm.com/read/333003/12711541
java holderex2.java
// generics/HolderEx2.java
// TIJ4 Chapter Generics, Exercise 2, page 621
/* Create a holder class that holds three objects of the same type along
* with the methods to store and fetch those objec
www.eeworm.com/read/333003/12711946
java rodent9.java
// polymorphism/rodent/Rodent9.java
// TIJ4 Chapter Polymorphism, Exercise 9, page 289
/* Create an inheritance hierarchy of Rodent:Mouse, Gerbil, Hamster, etc. In the
* base class, provide methods
www.eeworm.com/read/333003/12712029
java ex17(2).java
// arrays/Ex17.java
// TIJ4 Chapter Arrays, Exercise 17, page 775
// Create and test a Generator for BigDecimal, and ensure
// that it works with the Generated methods.
import java.math.*;
impor
www.eeworm.com/read/145545/12715516
java complete11_4.java
package questions.c11;
import java.util.Random;
/** Class representing a message queue with one slot
* The add and get methods are synchronized
*/
public class Complete11_4 {
private Stri
www.eeworm.com/read/332899/12717828
java ifelsetest.java
// control/IfEsleTest.java
// TIJ4 Chapter Control, Exercise 6, page 144
/* Modify the two test() methods in the previous two programs so that they take
* two extra arguments begin and end, and so