org.hackystat.telemetry.analyzer.function.impl
Class Utility

java.lang.Object
  extended by org.hackystat.telemetry.analyzer.function.impl.Utility

 class Utility
extends java.lang.Object

Utility class handling miscellaneous tasks.

Author:
(Cedric) Qin ZHANG

Constructor Summary
Utility()
           
 
Method Summary
(package private) static TelemetryStreamCollection expandNumber(java.lang.Number value, TelemetryStreamCollection source)
          Creates a new instance of TelemetryStreamCollection based on supplied source, and fills it with supplied value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utility

Utility()
Method Detail

expandNumber

static TelemetryStreamCollection expandNumber(java.lang.Number value,
                                              TelemetryStreamCollection source)
                                       throws TelemetryFunctionException
Creates a new instance of TelemetryStreamCollection based on supplied source, and fills it with supplied value.

Parameters:
value - The value to fill the newly created instance of TelemetryStreamCollection.
source - The template TelemetryStreamCollection object.
Returns:
A newly created instance of TelemetryStreamCollection.
Throws:
TelemetryFunctionException - If anything is wrong.