proguard.gui.splash
Class ConstantTiming

java.lang.Object
  extended by proguard.gui.splash.ConstantTiming

public class ConstantTiming
extends Object

This Timing is constant over time.

Author:
Eric Lafortune

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)
Returns the timing for the given time.



Copyright © 2012. All Rights Reserved.