public class SizeDistributionFactory
extends java.lang.Object
| Constructor and Description |
|---|
SizeDistributionFactory() |
| Modifier and Type | Method and Description |
|---|---|
static PacketSizeDistribution |
createSizeDistribution(ComponentSpecification specification)
Creates a new PacketSizeDistribution following the provided
ComponentSpecification, if the specification is valid (has the correct
main and specific type identifiers for a recognized size distribution
type, and has valid parameters for the specified size distribution).
|
public static PacketSizeDistribution createSizeDistribution(ComponentSpecification specification)
specification - a ComponentSpecification containing the data needed
to create the desired size distributionjava.lang.IllegalArgumentException - if the types or parameters are invalid