edu.ucla.stat.SOCR.util
Class Frequency

java.lang.Object
  extended by edu.ucla.stat.SOCR.util.Frequency

public class Frequency
extends java.lang.Object


Constructor Summary
Frequency(double[] data)
           
 
Method Summary
 void add(double newMember)
           
 void computeFrequency()
           
 int[] getFreqArray()
           
 int getFreqSize()
           
 int getFrequency(double input)
           
 java.util.HashMap<java.lang.String,java.lang.Integer> getMap()
           
 double getMaxRelFreq()
           
 int[] getRelFreqArray()
           
 java.util.HashSet<java.lang.String> getSet()
           
static void main(java.lang.String[] args)
           
 void printData()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Frequency

public Frequency(double[] data)
Method Detail

add

public void add(double newMember)

getMap

public java.util.HashMap<java.lang.String,java.lang.Integer> getMap()

getSet

public java.util.HashSet<java.lang.String> getSet()

getFreqSize

public int getFreqSize()

getFreqArray

public int[] getFreqArray()

getRelFreqArray

public int[] getRelFreqArray()

getFrequency

public int getFrequency(double input)

computeFrequency

public void computeFrequency()

printData

public void printData()

getMaxRelFreq

public double getMaxRelFreq()

main

public static void main(java.lang.String[] args)