Servertec   Random
Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
Change Log
Future Plans
Knowledge Base
Reference Manual
Conventions
Scriptlets
Data Types
Constants
Variables
Procedures
Operators
Statements
Objects
Array
Cookie
Date
Enumeration
File
FileDescriptor
Hashtable
Internet
IO
JDBC
Number
Object
Properties
Random
Request
Response
SqlTypes
Stack
StreamTokenizer
String
StringBuffer
StringTokenizer
System
Vector

Wrappers
Servlet
Server Side
Preprocessor
Executable
Samples
Sales
Legal
Feedback

 

Uses random number generator.

Method Description
nextDouble( ) Returns the next pseudo-random double value using the specified random number object.
nextFloat( ) Returns the next pseudo-random float value using the specified random number object.
nextGaussian( ) Returns the next pseudo-random Gaussian double value using the specified random number object.
nextInt( ) Returns the next pseudo-random integer value using the specified random number object.
nextInteger( ) Returns the next pseudo-random integer value using the specified random number object.
nextLong( ) Returns the next pseudo-random long value using the specified random number object.
Random( ) Returns a new random number object initialized to the specified seed value or current time.
setSeed( ) Sets the seed of the specified random number object

 top of page
 Built with iScript Copyright © 1997-1999 Servertec. All rights reserved.
Last Modified: Tue Jan 26 22:19:03 EST 1999