Home Cooker Classes Others Rice CookerGX
Classes  >  sleep  >  sleep(int,int)
sleep class : sleep(int,int) fitter

Description

Gets a new instance of the sleep type which is Initialized with the specified times and span.

Syntax

new sleep(int times, int span)

Arguments

ClassNameDescription
inttimesNumber of times.
intspanTime span.

Return value

None

Sample code

sleep sleepInstance = new sleep(10, 10);

Notes

The times argument * the span argument is the sleep time(millisecond).

The span argument is specified with millisecond.

Links for reference

Copyright © Rice All rights reserved.