代码搜索:Random

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

代码结果 10,000
www.eeworm.com/read/325023/13230082

java randombounds.java

//: containers/RandomBounds.java // Does Math.random() produce 0.0 and 1.0? // {RunByHand} import static net.mindview.util.Print.*; public class RandomBounds { static void usage() { prin
www.eeworm.com/read/325023/13230128

java prediction.java

//: containers/Prediction.java // Predicting the weather with groundhogs. import java.util.*; public class Prediction { private static Random rand = new Random(47); private boolean shadow =
www.eeworm.com/read/325023/13230698

java vowelsandconsonants.java

//: control/VowelsAndConsonants.java // Demonstrates the switch statement. import java.util.*; import static net.mindview.util.Print.*; public class VowelsAndConsonants { public static void m
www.eeworm.com/read/325023/13230769

java roshambo.java

//: enumerated/RoShamBo.java // Common tools for RoShamBo examples. package enumerated; import net.mindview.util.*; public class RoShamBo { public static void mat
www.eeworm.com/read/325023/13230831

java input.java

//: enumerated/Input.java package enumerated; import java.util.*; public enum Input { NICKEL(5), DIME(10), QUARTER(25), DOLLAR(100), TOOTHPASTE(200), CHIPS(75), SODA(100), SOAP(50), ABOR
www.eeworm.com/read/325023/13230882

java randomshapegenerator.java

//: polymorphism/shape/RandomShapeGenerator.java // A "factory" that randomly creates shapes. package polymorphism.shape; import java.util.*; public class RandomShapeGenerator { private Rando
www.eeworm.com/read/325023/13230993

java mathops.java

//: operators/MathOps.java // Demonstrates the mathematical operators. import java.util.*; import static net.mindview.util.Print.*; public class MathOps { public static void main(String[] arg
www.eeworm.com/read/240209/13231041

java obstacle.java

/* * @(#)Obstacle.java 1.0 04/07/01 @(#) * * Copyright 2004 NTT DoCoMo, Inc. All rights reserved. */ import java.util.Random; /** * Obstacle * The definition class of the obsta
www.eeworm.com/read/325023/13231894

java statistics.java

//: holding/Statistics.java // Simple demonstration of HashMap. import java.util.*; public class Statistics { public static void main(String[] args) { Random rand = new Random(47); M
www.eeworm.com/read/325023/13231903

java setofinteger.java

//: holding/SetOfInteger.java import java.util.*; public class SetOfInteger { public static void main(String[] args) { Random rand = new Random(47); Set intset = new HashSet