G I M N P R S T

G

getMilliseconds() - Method in interface net.jinx.time.MillisTimeSource
Provides the number of milliseconds since some particular fixed event occured, such as the unix epoch like the system clock), the system booting, or the JVM starting (like sun.misc.Perf).
getNanoseconds() - Method in interface net.jinx.time.NanoTimeSource
Provides the number of nanoseconds since some particular fixed event occured, such as the unix epoch like the system clock), the system booting, or the JVM starting (like sun.misc.Perf).
getNanoseconds() - Method in class net.jinx.time.SteppingTimeSource
Provides the number of nanoseconds that have accumulated on this SteppingTimeSource since it's creation.
getSource() - Method in class net.jinx.time.StopWatch
Provides the TimeSource for this StopWatch.

I

isNano() - Method in class net.jinx.time.StopWatch
Determines whether or not this StopWatch is backed by a nanosecond timer or a millisecond timer.
isRealTime() - Method in class net.jinx.time.SteppingTimeSource
Returns false.
isRealTime() - Method in class net.jinx.time.StopWatch
Returns true if this StopWatch is backed by a real-time source.
isRealTime() - Method in interface net.jinx.time.TimeSource
Indicates if this TimeSource is backed by a real-time clock.

M

main(String[]) - Static method in class net.jinx.time.StopWatch
Main entry point for the StopWatch test program.
millisPassed() - Method in class net.jinx.time.StopWatch
Provides the number of milliseconds that have passed since the last call to reset().
MillisTimeSource - Interface in net.jinx.time
Implementing this inerface indicates that the Timesource is capable of providing time values on a millisecond scale.

N

nanoPassed() - Method in class net.jinx.time.StopWatch
Provides the number of nanoseconds that have passed since the last call to reset().
NanoTimeSource - Interface in net.jinx.time
Implementing this inerface indicates that the Timesource is capable of providing time values on a nanosecond scale.
net.jinx.time - package net.jinx.time
 

P

pause() - Method in class net.jinx.time.StopWatch
Pauses this StopWatch.

R

reset() - Method in class net.jinx.time.StopWatch
Resets this StopWatch.
resume() - Method in class net.jinx.time.StopWatch
Resumes this StopWatch.

S

stepMilliseconds(long) - Method in class net.jinx.time.SteppingTimeSource
Converts to nanoseconds and adds to the internal clock's value.
stepNanoseconds(long) - Method in class net.jinx.time.SteppingTimeSource
Adds to the internal clock's value.
SteppingTimeSource - Class in net.jinx.time
SteppingTimeSource is a TimeSource that is not real-time.
SteppingTimeSource() - Constructor for class net.jinx.time.SteppingTimeSource
 
stepSeconds(double) - Method in class net.jinx.time.SteppingTimeSource
Converts to nanoseconds and adds to the internal clock's value.
StopWatch - Class in net.jinx.time
StopWatch allows you to determine how much time has passed in a given period of time, using the most precise clock available.
StopWatch() - Constructor for class net.jinx.time.StopWatch
Constructs a real-time StopWatch with one of the default time sources; the most precise time source available is used.
StopWatch(TimeSource) - Constructor for class net.jinx.time.StopWatch
Constructor for using a custom time source.
StopWatch(boolean) - Constructor for class net.jinx.time.StopWatch
Constructor that allows choosing whether or not nanosecond timing is used if available.

T

timePassed() - Method in class net.jinx.time.StopWatch
Provides the amount of time that has passed since the last call to reset().
TimeSource - Interface in net.jinx.time
The base interface that all TimeSources must implement.

G I M N P R S T