代码搜索:methods
找到约 10,000 项符合「methods」的源代码
代码结果 10,000
www.eeworm.com/read/140893/7117115
java unsupported.java
//: c11:Unsupported.java
// Sometimes methods defined in the
// Collection interfaces don't work!
// {ThrowsException}
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.c
www.eeworm.com/read/332978/7141632
java showaddlisteners.java
//: gui/ShowAddListeners.java
// Display the "addXXXListener" methods of any Swing class.
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.lang.reflect.*;
import jav
www.eeworm.com/read/332978/7142010
java print.java
//: net/mindview/util/Print.java
// Print methods that can be used without
// qualifiers, using Java SE5 static imports:
package net.mindview.util;
import java.io.*;
public class Print {
//
www.eeworm.com/read/464776/7155329
m comparison_script.m
%% Compare the various methods
% Try up to 100 timesteps and compare the results in terms of time taken
% and how they agree
S0 = 36; K = 40; r = 0.06; T = 1; sigma = 0.2;
Timings = zeros(98,3
www.eeworm.com/read/463627/7177398
lisp iso2.lisp
;; ISOLATION, the main procedure about this game
;; Input: 2 methods , initial state, the race of player1
;; Output: display next-state and winner if the game is over
(defun ISOLATION (p1 p2 ini
www.eeworm.com/read/461147/7232690
h random.h
#ifndef RANDOM_H_
#define RANDOM_H_
class Random
{
public:
Random(bool pseudo=true);
//declare random-number generation methods here
double random_real();
int poisson(double mean);
pr
www.eeworm.com/read/454660/7385949
java ex10(2).java
// exceptions/Ex10.java
// TIJ4 Chapter Exceptions, Exercise 10, page 468
/* Create a class with two methods, f() and g(). In g(), throw an exception of
* a new type that you define. In f(), call g
www.eeworm.com/read/454660/7386022
java stem2.java
// reusing/Stem2.java
// TIJ4 Chapter Reusing, Exercise 12, page 254
// Add a proper hierarchy of dispose() methods to all the classes of exercise 9.
/* EX 9: Create a class called Root that conta
www.eeworm.com/read/454660/7386128
java music9.java
// interfaces/music9/Music9.java
// TIJ4 Chapter Interfaces, Exercise 9, page 320
/* Refactor Music5.java by moving the common methods in Wind, Percussion and
* Stringed into an abstract class.
*/
www.eeworm.com/read/451308/7467555
java experiment.java
package ir.eval;
import java.io.*;
import java.util.*;
import java.lang.*;
import ir.utilities.*;
import ir.vsr.*;
/**
* Contains methods for running evaluation experiments for information
* retri