com.esri.arcgis.geoprocessing
Interface IGPRandomNumberGenerator

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
GPRandomNumberGenerator, IGPRandomNumberGeneratorProxy

public interface IGPRandomNumberGenerator
extends java.io.Serializable

COM Interface 'IGPRandomNumberGenerator'. Generated 3/19/2015 1:20:59 PM from 'C:\ArcGIS\COM\esriGeoprocessing.olb'

Description: 'Provides access to the properties/methods of a geoprocessing random number generator object.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IIDf6adcf0e_13bb_4cd9_b6c6_630ffcc8052b
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 int getSeed()
          Gets the value, as a non-negative long, of the seed.
 int getType()
          Gets the random number generator type.
 double getValue(java.lang.String distribution)
          Generates the next random number value.
 void initialize(int seed, int type)
          Initializes random generator seed and type.
 void reset()
          Resets random number generator seed, type stays unchanged.
 

Field Detail

IIDf6adcf0e_13bb_4cd9_b6c6_630ffcc8052b

static final int IIDf6adcf0e_13bb_4cd9_b6c6_630ffcc8052b
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getSeed

int getSeed()
            throws java.io.IOException,
                   AutomationException
Gets the value, as a non-negative long, of the seed.

Returns:
The pSeed
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getType

int getType()
            throws java.io.IOException,
                   AutomationException
Gets the random number generator type.

Returns:
A com.esri.arcgis.geoprocessing.esriRandomNumberGeneratorType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

initialize

void initialize(int seed,
                int type)
                throws java.io.IOException,
                       AutomationException
Initializes random generator seed and type.

Parameters:
seed - The seed (in)
type - A com.esri.arcgis.geoprocessing.esriRandomNumberGeneratorType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

void reset()
           throws java.io.IOException,
                  AutomationException
Resets random number generator seed, type stays unchanged.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getValue

double getValue(java.lang.String distribution)
                throws java.io.IOException,
                       AutomationException
Generates the next random number value.

Parameters:
distribution - The distribution (in)
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.