object Util extends Serializable
- Alphabetic
- By Inheritance
- Util
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-  type OptionMap = Map[String, Any]
Value Members
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        !=(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ##(): Int
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ==(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        asInstanceOf[T0]: T0
      
      
      - Definition Classes
- Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        cleanSensorId(sensorId: String): String
      
      
      handle sensor id with .mp4 as part of the url handle sensor id with .mp4 as part of the url rtsp://172.17.170.54:1935/its_no_bbox/HWY_20_AND_DEVONEB4_11_2018_4_59_59_728_AM_UTC-07_00.mp4 
- 
      
      
      
        
      
    
      
        
        def
      
      
        clone(): AnyRef
      
      
      - Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
 
-  def confidenceFilter(appConfig: Config, m: Message): Boolean
-  def cosineSimilarity(x: Array[Float], y: Array[Float]): Float
-  val datePattern: Regex
-  def defaultFormat: DefaultFormats
-  def dotProduct(x: Array[Float], y: Array[Float]): Float
-  val enableEncrption: Boolean
-  def encryptLicense(obj: jObject): jObject
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        eq(arg0: AnyRef): Boolean
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        equals(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
-  def extractIntersection(x: String): String
-  def extractSensorId(x: String): String
-  def fromJson[T](s: String, c: Class[T]): T
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        getClass(): Class[_]
      
      
      - Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        hashCode(): Int
      
      
      - Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        isInstanceOf[T0]: Boolean
      
      
      - Definition Classes
- Any
 
-  def jsonString(e: Any): String
-  def localToGMT(): Timestamp
-  def magnitude(x: Array[Float]): Float
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ne(arg0: AnyRef): Boolean
      
      
      - Definition Classes
- AnyRef
 
-  def nextOption(map: OptionMap, list: List[String]): OptionMap
-  def normalize(x: Array[Float]): Array[Float]
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        notify(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        notifyAll(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        readCalibrationCommandLine(options: OptionMap, default: String): Map[String, String]
      
      
      read calibration configuration from commandline else use the "default" is from classpath 
- 
      
      
      
        
      
    
      
        
        def
      
      
        readConfig(path: String): Map[String, String]
      
      
      read configuration map from resource stream 
- 
      
      
      
        
      
    
      
        
        def
      
      
        readConfigCommandLine(options: OptionMap, default: String): Map[String, String]
      
      
      read configuration from commandline else use the "default" is from classpath 
- 
      
      
      
        
      
    
      
        
        def
      
      
        readConfigFromFile(path: String): Map[String, String]
      
      
      read configuration map from file 
-  def readConfigString(path: String): String
-  def readData(path: String = "data/traffic.txt"): Iterator[jMessage]
-  def readFile(path: String): String
-  def readSet(path: String): Set[String]
-  def safeStringToDouble(str: String): Option[Double]
-  def safeStringToInt(str: String): Option[Int]
-  def sensorConfigMap(config: Map[String, String]): Map[String, Map[String, String]]
-  def sourceJsonToMap(f: BufferedSource): Map[String, String]
-  def sourceToMap(f: BufferedSource): Map[String, String]
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        synchronized[T0](arg0: ⇒ T0): T0
      
      
      - Definition Classes
- AnyRef
 
-  def timeXMinutesAgo(minutes: Long): Timestamp
-  def timeXhoursAgo(hours: Long): Timestamp
-  def toLocalTime(ts: Timestamp): Timestamp
-  def toMillis(ts: Timestamp): Long
- 
      
      
      
        
      
    
      
        
        def
      
      
        toString(): String
      
      
      - Definition Classes
- AnyRef → Any
 
-  def to_utc(t: Timestamp): Timestamp
-  def to_utc_from_String(d: String): Timestamp
-  def updateTrajectory(objectId: String, inputs: Iterator[jMessage]): (String, List[jMessage])
-  def uuid: String
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long, arg1: Int): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... )
 
Deprecated Value Members
- 
      
      
      
        
      
    
      
        
        def
      
      
        finalize(): Unit
      
      
      - Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated