代码搜索:methods
找到约 10,000 项符合「methods」的源代码
代码结果 10,000
www.eeworm.com/read/142039/12968324
m parents.m
function par = parents(pop,method,varargin)
% PARENTS - Selects parents from a given population.
%
% par=parents(population,'method',option1,option2,etc..)
% There are several different methods th
www.eeworm.com/read/325023/13230814
java roshambo3.java
//: enumerated/RoShamBo3.java
// Using constant-specific methods.
package enumerated;
import static enumerated.Outcome.*;
public enum RoShamBo3 implements Competitor {
PAPER {
www.eeworm.com/read/325023/13231514
java range.java
//: net/mindview/util/Range.java
// Array creation methods that can be used without
// qualifiers, using Java SE5 static imports:
package net.mindview.util;
public class Range {
// Produce a
www.eeworm.com/read/322022/13390906
java regexappend.java
package com.ronsoft.books.nio.regex;
import java.util.regex.Pattern;
import java.util.regex.Matcher;
/**
* Test the appendReplacement() and appendTail() methods of the
* java.util.regex.Matcher c
www.eeworm.com/read/313554/13584946
java doublearraymaze.java
/* ver: 0.1, date 19-12-2007 by Jeroen W
* added and implemented necessary public methods:
* getElement, clear, isCleared, getSizeX, getSizeY.
* ver: 0.2, date 02-01-2007 by Marcel hekman
* a
www.eeworm.com/read/313151/13595117
java functional42.java
// generics/Functional42.java
// TIJ4 Chapter Generics, Exercise 42, page 743
/*
* Create two separate classes, with nothing in common. Each class should
* hold a value, and at least have methods
www.eeworm.com/read/313151/13595376
java rodent1.java
// interfaces/rodent/Rodent1.java
// TIJ4 Chapter Interfaces, Exercise 1, page 315
/* Modify Exercise 9 in the previous chapter so that Rodent is an abstract class.
* Make the methods of Rodent abs
www.eeworm.com/read/313151/13595377
java ex4.java
// interfaces/Ex4.java
// TIJ4 Chapter Interfaces, Exercise 4, page 315
/* Create an abstract class with no methods. Derive a class and add a method.
* Create a static method that takes a referenc
www.eeworm.com/read/313151/13595384
java ex2.java
// interfaces/Ex2.java
// TIJ4 Chapter Interfaces, Exercise 2, page 315
// Create a class as abstract without including any abstract methods, and verify
// that you cannot create any instances of t
www.eeworm.com/read/313151/13595387
java testex5.java
// interfaces.TestEx5.java
// TIJ4 Chapter Interfaces, Exercise 5, page 320
// Create an interface containing three methods, in its own package. Implement it
// in another package.
/* Solution inc