代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/478488/6717976
txt fenxingyun.txt
import java.applet.Applet;
import java.awt.*;
public class cloud extends Applet
{
Image Buffer; //用于存储图像的缓冲器
Graphics Context; //用于绘制图像到缓冲器中
/
www.eeworm.com/read/478118/6720062
java ex28.java
// holding/Ex28.java
// TIJ4 Chapter Holding, Exercise 28, page 427
/* Fill a PriorityQueue (using offer()) with Double values created using
* java.util.Random, then remove the elements using poll
www.eeworm.com/read/478118/6720088
java ex11(4).java
// containers/Ex11.java
// TIJ4 Chapter Containers, Exercise 11, page 829
/* Create a class that contains an Integer that is initialized
* to a value between 0 and 100 using java.util.Random. Impl
www.eeworm.com/read/478118/6720097
java compareints.java
// control/CompareInts.java
// TIJ4 Chapter Control, Exercise 2, page 139
/* Write a program that generates 25 random int values. For each value, use an
* if-else statement to classify it as greate
www.eeworm.com/read/478118/6720104
java compareintsforever.java
// control/CompareIntsForever.java
// TIJ4 Chapter Control, Exercise 3, page 139
// Modify exercise 2 wtih infinte while loop. Stop prgram with Ctrl-C
import static net.mindview.util.Print.*;
im
www.eeworm.com/read/478118/6720247
java ex23(1).java
// arrays/Ex23.java
// TIJ4 Chapter Arrays, Exercise 23, page 786
// Create an array of Integer fill it with random int values (using
// autoboxing), and sort it into reverse order using a Comparat
www.eeworm.com/read/478118/6720314
java games17.java
// innerclasses/Games17.java
// TIJ4 Chapter Innerclasses, Exercise 17, page 364
/* Modify the solution to Exercise 19 from the Interfaces chapter to use
* anonymous inner classes.
* (Exercise 19
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/477659/6730347
cpp main.cpp
#include"sort.h"
void main()
{
random_int();
insertion_int();
}
www.eeworm.com/read/477671/6730557
cpp randgentest.cpp
//: C08:RandGenTest.cpp
// From "Thinking in C++, 2nd Edition, Volume 2"
// by Bruce Eckel & Chuck Allison, (c) 2001 MindView, Inc.
// Available at www.BruceEckel.com.
// A little test of the rand