代码搜索:Random

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

代码结果 10,000
www.eeworm.com/read/344239/11895075

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/344239/11895158

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/344239/11895221

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/344239/11895381

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/344239/11896404

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/344239/11896416

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
www.eeworm.com/read/344239/11896511

java queuedemo.java

//: holding/QueueDemo.java // Upcasting to a Queue from a LinkedList. import java.util.*; public class QueueDemo { public static void printQ(Queue queue) { while(queue.peek() != null)
www.eeworm.com/read/344239/11896526

java sortedsetofinteger.java

//: holding/SortedSetOfInteger.java import java.util.*; public class SortedSetOfInteger { public static void main(String[] args) { Random rand = new Random(47); SortedSet int
www.eeworm.com/read/344239/11896567

java usingstringbuilder.java

//: strings/UsingStringBuilder.java import java.util.*; public class UsingStringBuilder { public static Random rand = new Random(47); public String toString() { StringBuilder result = n
www.eeworm.com/read/344239/11896998

java randomlist.java

//: generics/RandomList.java import java.util.*; public class RandomList { private ArrayList storage = new ArrayList(); private Random rand = new Random(47); public void add(T it