代码搜索:Random

找到约 10,000 项符合「Random」的源代码

代码结果 10,000
www.eeworm.com/read/333003/12711430

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/333003/12711472

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/333003/12711502

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/333003/12712080

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/333003/12712319

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/333003/12712460

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/145545/12714818

java casemixer.java

package examples.io; import java.io.*; import java.util.Random; /** A class used to demonstrate file input and output */ public class CaseMixer { /** Method randomly sets case of char
www.eeworm.com/read/145545/12715502

java debug11_5.java

package questions.c11; public class Debug11_5 extends Thread { private int samples; private double average; public Debug11_5( int s ) { samples = s; } public synchronized v
www.eeworm.com/read/145525/12717054

c mrandom.c

#include #include #include #include "msp.h" float randnu(long *iseed) { float z; *iseed=2045*(*iseed)+1; *iseed=*iseed-(*iseed/1048576)*10
www.eeworm.com/read/332899/12717814

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