Class SpeedTest

  • All Implemented Interfaces:

    
    public final class SpeedTest
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      SpeedTest()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Double getDownloadSpeedInKilobytesPerSecond(NetworkHealth networkHealth) Given a url to download and the size of the file, calculates the download speed in KBps.
      final Integer getSpeedTestScore(Double kilobytesPerSecond, SortedMap<Integer, RangeLimits> scoreMap) Converts the given kilobytes per second into a score from 0-5 Where -1 is Error During Test and 1 is bad internet, 5 is best.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait