IRISLIB database
Percentile Class Reference
Inheritance diagram for Percentile:
Collaboration diagram for Percentile:

Public Member Functions

_.Library.Double GetResult (_.Library.Status pStatus)
 Returns the percentile. More...
 
_.Library.Status ProcessValue (_.Library.Double pValue)
 ProcessValue is called sequentially on each value in a target set. More...
 
- Public Member Functions inherited from RegisteredObject
_.Library.Status OnAddToSaveSet (_.Library.Integer depth, _.Library.Integer insert, _.Library.Integer callcount)
 This callback method is invoked when the current object is added to the SaveSet,. More...
 
_.Library.Status OnClose ()
 This callback method is invoked by the <METHOD>Close</METHOD> method to. More...
 
_.Library.Status OnConstructClone (_.Library.RegisteredObject object, _.Library.Boolean deep, _.Library.String cloned)
 This callback method is invoked by the <METHOD>ConstructClone</METHOD> method to. More...
 
_.Library.Status OnNew ()
 This callback method is invoked by the <METHOD>New</METHOD> method to. More...
 
_.Library.Status OnValidateObject ()
 This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More...
 

Public Attributes

 SortedValues
 Sorted array of processed values. More...
 
 percentile
   More...
 
- Public Attributes inherited from aggregate
 Count
 Keeps a running count of values processed. More...
 
 data
 Array of processed values. More...
 

Additional Inherited Members

- Static Public Attributes inherited from RegisteredObject
 CAPTION = None
 Optional name used by the Form Wizard for a class when generating forms. More...
 
 JAVATYPE = None
 The Java type to be used when exported.
 
 PROPERTYVALIDATION = None
 This parameter controls the default validation behavior for the object. More...
 

Member Function Documentation

◆ GetResult()

_.Library.Double GetResult ( _.Library.Status  pStatus)

Returns the percentile.

Returns "" for an empty data set.

Reimplemented from aggregate.

◆ ProcessValue()

_.Library.Status ProcessValue ( _.Library.Double  pValue)

ProcessValue is called sequentially on each value in a target set.

This sorts the values by filing them into the SortedValues array

with the incoming value as the first subscript.

Reimplemented from aggregate.

Member Data Documentation

◆ SortedValues

SortedValues

Sorted array of processed values.

 

◆ percentile

percentile