搜索资源列表
java餐厅管理
- 产生一个随机数,然后统计餐厅进出人数,点菜价格,点菜时间。最后算一天的总收入-have a random number, then the number of statistics from the restaurant, order food prices, orders time. The final day of counting the total income
hash.rar
- JAVA的哈希算法,非常适合初学者。 1. 直接寻址法2. 数字分析法3. 平方取中法 4. 折叠法5. 随机数法6. 除留余数法,JAVA hash algorithm is very suitable for beginners. 1. Direct addressing method 2. Digital analysis 3. Square to take the Sino-French 4. Folding Method 5. Random number method 6.
pushlet.rar
- Java下Comet的实现框架Pushlet例子。 实现实时推送数据到客户端。 服务器每隔30-500MS产生一个随机数,连同当前时间一起推送给客户端。客户端接收并显示。,Comet the realization of Java under the framework of Pushlet example. Push real-time data to the client. Server every 30-500MS generate a random number, together
udp-reliable-data-transmission
- UDP实现可靠数据传输。使用GBN算法,实现了:1.随即丢包(随机数产生器Math.random()) 2.丢包后遇冗余ack重传 3.超时重传 (DatagramSocket和Socket都有成员函数setSoTimeout(delay),通过捕获超时时抛出的IO异常来实现超时重传)-Reliable UDP data transfer. GBN algorithm used to realize: 1. Then packet loss (random number generator Ma
java
- 产生随机数实现摇号功能的java源码,“开始”“重置”“停止”三个简单的按钮响应-Generated random numbers to achieve摇号function java source code, the beginning reset to stop button in response to three simple
ValidateCodeServlet
- java生成随机数字和字母验证码, -java generate random numbers and letters Verification Code,
experiment
- 利用随机数产生1000个0~100之间的考试分数,将其存入一个文本文件中,然后程序从这个文件中读取这1000个考试分数,统计其中各分数段(A[90,100],B[80,90), C[70,80), D[60,70), F[0,60))的人数 、所占百分比,平均分。-The use of 1000 random number generator between 0 ~ 100 test scores, be deposited into a text file, and then the proc
RandomRealNumber
- 用不同的种子和方法去产生随机数,像多项巡回随机产生器-Generate different random numbers using different methods like MRG(Multiple Recursive Generator )
RandomTool
- 产生随机数的代码,使用java实现,可以指定产生的位数-The code generated random numbers, use the java implementation, you can specify the number of bits generated
Tiger
- Java初学者,老虎机随机数产生游戏简单模拟-Java.For beginners, slot machine random number generator simple simulation game
java
- 用户猜0-100内的随机数,应具备以下3个功能。 1。根据输入内容输入提示:太大、太小、或者答对了; 2。输入0能随时退出游戏; 3。 输入非数字时,能处理抛出的异常,并继续游戏。-Users to guess the random number 0-100, shall have the following three features. 1. According to input the input Note: too big, too small, or correct answers
histogram
- 直方图。产生均匀分布和高斯分布随机数,并在控制台中以直方图形式输出。-Gaussian and Uniform Histogram
Java
- Test为输出60到69之间的随机数,Dig为用非递归求n的阶乘,ball为标签彩色球,YH为杨辉三角,Q21为矩阵转置。-Test the output of 60 to 69 random numbers between, Dig for the use of non-recursive find n factorial, ball color ball for the label, YH for the Yang Hui triangle, Q21 for the matrix trans
Common-function-about-Java-class
- 这个Java类可以用来求出随机数,算出0至1之间的随机小数,然后乘以100,这样就能求出0至100之间的随机整数了。-The Java class can be used to seek the random, and work out between 0 to 1 random decimal, and then multiplied by 100, so they could work out between 0 to 100 of the random integer.
JAVA
- 有三个功能。 第一:撰写类Mylog,实现接口Loggable,完成在本地文件"MyLog.log"文件中的日志读写。 第二:分别使用FileOutput和BufferedOutputStream往二进制文件(Numbers.dat)中写入10个随机数,比较用时。 第三:编写查询程序,输入要查询的数字的索引,在实验第二题中的文件(Number.dat)中查询这个数显示到屏幕上。-Has three functions. : Write class Mylog, implement t
猜数游戏
- 猜数游戏 通过获取随机数 猜测数字大小 你输入的数字大于随机数则变成红色,小宇随机数变成蓝色,等于随机数,弹出你真棒(Guessing game, by obtaining random numbers, guess the size of numbers, you enter the number is greater than the random number becomes red, small random number into blue, equal to random numbe
sourcecode
- Java课程设计,包含随机数生成、正则识别和一个Java编写的命令行游戏。(Java curriculum design, including random number generation, regular identification and a Java written command line game.)
s
- 使用随机数生成的数组,绘制心跳波形图,并向左移动;(Use the random number generated array, draw the heartbeat waveform, and move to the left;)
02.MethodBasic
- 介绍java的一些编程方法,比如随机数的生成,递归的方法(Introduces some programming methods of Java, such as the generation of random numbers, recursive method)
java产生随机数
- 随机产生7个随机数,运用了面向对象,比较简单的程序(Random generation of seven random numbers)