代码搜索:methods
找到约 10,000 项符合「methods」的源代码
代码结果 10,000
www.eeworm.com/read/139028/13193098
java springutilities.java
package Strategy;
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 SpringLay
www.eeworm.com/read/240686/13204928
h date.h
#ifndef DATE_CLASS
#define DATE_CLASS
#include
#include // array based I/O stream methods
class Date
{
private:
// private members that spec
www.eeworm.com/read/325023/13230482
java printtest.java
//: access/PrintTest.java
// Uses the static printing methods in Print.java.
import static net.mindview.util.Print.*;
public class PrintTest {
public static void main(String[] args) {
pri
www.eeworm.com/read/325023/13230553
java icecream.java
//: arrays/IceCream.java
// Returning arrays from methods.
import java.util.*;
public class IceCream {
private static Random rand = new Random(47);
static final String[] FLAVORS = {
"C
www.eeworm.com/read/322568/13376635
java decisiontree.java
// DecisionTree.java
import java.util.StringTokenizer;
import java.util.Vector;
import java.io.*;
// This class is the controller. All its methods are static.
// The name is a bit misleading
www.eeworm.com/read/322022/13390915
java unsigned.java
package com.ronsoft.books.nio.buffers;
import java.nio.ByteBuffer;
/**
* Utility class to get and put unsigned values to a ByteBuffer object.
* All methods here are static and take a ByteBuffer o
www.eeworm.com/read/318176/13484390
txt kcmcomba.txt
In embedded applications on low-powered processors, performance is a big
issue. Using either the KCM or Comba methods as described here can increase
speeds 4-fold.
To use the super-fast KCM (for
www.eeworm.com/read/314474/13566788
cc lm.cc
/*
* LM.cc --
* Generic LM methods
*
*/
#ifndef lint
static char Copyright[] = "Copyright (c) 1995-2006 SRI International. All Rights Reserved.";
static char RcsId[] = "@(#)$Header: /hom
www.eeworm.com/read/313151/13595109
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/313151/13595120
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