public class RandomIntegerFactoryBean extends AbstractRandomVariateFactoryBean implements org.springframework.beans.factory.FactoryBean<Integer>
A Spring factory bean which generates random Integer values from the specified probability distribution. This can be used to auto-magically configure properties as random variates in a Monte-Carlo simulation.
distribution
Constructor and Description |
---|
RandomIntegerFactoryBean() |
Modifier and Type | Method and Description |
---|---|
Integer |
getObject() |
Class<?> |
getObjectType() |
getDistribution, isSingleton, setDistribution
Copyright © 2014. All rights reserved.