org.hackystat.telemetry.analyzer.function.impl
Class FilterFunction.LastRankFunction

java.lang.Object
  extended by org.hackystat.telemetry.analyzer.function.impl.FilterFunction.LastRankFunction
All Implemented Interfaces:
FilterFunction.RankFunction
Enclosing class:
FilterFunction

static class FilterFunction.LastRankFunction
extends java.lang.Object
implements FilterFunction.RankFunction

A rank function using the lastest data point value as ranking criteria.

Author:
(Cedric) Qin ZHANG

Constructor Summary
FilterFunction.LastRankFunction()
           
 
Method Summary
 double getRank(TelemetryStream stream)
          Computes the last value of a telemetry stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterFunction.LastRankFunction

FilterFunction.LastRankFunction()
Method Detail

getRank

public double getRank(TelemetryStream stream)
Computes the last value of a telemetry stream.

Specified by:
getRank in interface FilterFunction.RankFunction
Parameters:
stream - A telemetry stream.
Returns:
The last value.