ProGuard

proguard.gui.splash
Class ConstantTiming

java.lang.Object
  extended byproguard.gui.splash.ConstantTiming
All Implemented Interfaces:
proguard.gui.splash.Timing

public class ConstantTiming
extends Object
implements proguard.gui.splash.Timing

This Timing is constant over time.


Constructor Summary
ConstantTiming()
          Creates a new ConstantTiming with a value of 0.
ConstantTiming(double timing)
          Creates a new ConstantTiming with a given value.
 
Method Summary
 double getTiming(long time)
          Returns the timing for the given time.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstantTiming

public ConstantTiming()
Creates a new ConstantTiming with a value of 0.


ConstantTiming

public ConstantTiming(double timing)
Creates a new ConstantTiming with a given value.

Parameters:
timing - the constant value of the timing.
Method Detail

getTiming

public double getTiming(long time)
Description copied from interface: proguard.gui.splash.Timing
Returns the timing for the given time.

Specified by:
getTiming in interface proguard.gui.splash.Timing

ProGuard