examples.statistics.v01
Interface IStatistics

All Superinterfaces:
IUnknown
All Known Implementing Classes:
StatisticsComponent, StatisticsComponentAssyncMessage, StatisticsComponentSyncMessage

public interface IStatistics
extends IUnknown

This is a simple statistic interface that describe basic functionalities


Method Summary
 float average()
          return the average of float values.
 void insertValue(float value)
          Insert an float value.
 float sum()
          return a sum of float values.
 
Methods inherited from interface anima.component.IUnknown
getPrimaryKey, queryInterface
 

Method Detail

insertValue

void insertValue(float value)
Insert an float value. this method ll be deprecated, it will be substituted for public void insertValue(Number number);

Parameters:
value -

sum

float sum()
return a sum of float values. this method ll be deprecated, it will be substituted for public Number sum();

Returns:

average

float average()
return the average of float values. this method ll be deprecated, it will be substituted for public void average();

Returns:


Copyright © 2007. All Rights Reserved.