jfreerails.world.train
Class CompositeSpeedAgainstTime.TandI

java.lang.Object
  extended by jfreerails.world.train.CompositeSpeedAgainstTime.TandI
Enclosing class:
CompositeSpeedAgainstTime

private static class CompositeSpeedAgainstTime.TandI
extends java.lang.Object

Used to enable 2 values to be returned from the method getIndex(double t)


Field Summary
(package private)  int i
           
(package private)  double offset
           
 
Constructor Summary
CompositeSpeedAgainstTime.TandI(int i, double t)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

offset

final double offset

i

final int i
Constructor Detail

CompositeSpeedAgainstTime.TandI

CompositeSpeedAgainstTime.TandI(int i,
                                double t)