nl.tudelft.simulation.jstats.distributions
Class DistCustom.Entry

java.lang.Object
  extended bynl.tudelft.simulation.jstats.distributions.DistCustom.Entry
Enclosing class:
DistCustom

public static class DistCustom.Entry
extends java.lang.Object

A Entry for the custom distribution


Constructor Summary
DistCustom.Entry(long value, double probability)
          constructs a new Entry
 
Method Summary
 double getProbability()
          returns the probability
 long getValue()
          returns the value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistCustom.Entry

public DistCustom.Entry(long value,
                        double probability)
constructs a new Entry

Parameters:
value - the value
probability - the probability
Method Detail

getValue

public long getValue()
returns the value

Returns:
long the value

getProbability

public double getProbability()
returns the probability

Returns:
double the probability


Copyright © 2002-2004 Delft University of Technology, the Netherlands. All Rights Reserved.