Class LinearTimingFunction
- java.lang.Object
-
- org.swisspush.gateleen.player.timing.LinearTimingFunction
-
- All Implemented Interfaces:
com.google.common.base.Function<java.lang.Long,java.lang.Long>,java.util.function.Function<java.lang.Long,java.lang.Long>
public class LinearTimingFunction extends java.lang.Object implements com.google.common.base.Function<java.lang.Long,java.lang.Long>Speeds up timings by a constant factor.- Author:
- https://github.com/lbovet [Laurent Bovet]
-
-
Constructor Summary
Constructors Constructor Description LinearTimingFunction(double factor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Longapply(java.lang.Long millis)
-