SAP ABAP Class CL_ABAP_RANDOM_INT (CL_ABAP_RANDOM_INT)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
     SABP_RANDOM (Package) Random Number Generator
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_SERIALIZABLE_OBJECT Serializable Object 20030709
Properties
Class CL_ABAP_RANDOM_INT  
Short Description    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status S  System Program 
Category 0   
Package SABP_RANDOM   Random Number Generator 
Created 20030709   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_ABAP_RANDOM_INT has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_SERIALIZABLE_OBJECT Serializable Object 20030709
Friends
Class CL_ABAP_RANDOM_INT has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 FALSE Constant Protected Type reference (TYPE) BOOLEAN SPACE Truth Value: FALSE 20030709
2 FULL_RANGE Instance attribute Protected Type reference (TYPE) BOOLEAN Flag: Value Area Is I 20030709
3 MAX Instance attribute Protected Type reference (TYPE) I Upper Interval Limit 20030709
4 MAX_INT Constant Protected Type reference (TYPE) I 2147483647 Largest Integer Value 20030709
5 MIN Instance attribute Protected Type reference (TYPE) I Lower Interval Limit 20030709
6 MIN_INT Constant Protected Type reference (TYPE) I -2147483648 Smallest Integer Value 20030709
7 PRNG Instance attribute Protected Object reference (TYPE REF TO) CL_ABAP_RANDOM Pseudo Random Number Generator 20030709
8 TRUE Constant Protected Type reference (TYPE) BOOLEAN 'X' Truth Value: TRUE 20030709
Methods
# Method Level Visibility Method type Description Created on
1 CREATE Static method Public Method Create a PRNG for Integers 20030709
2 GET_NEXT Instance method Public Method Next Pseudo Random Integer in [min,max] 20030709
Events
Class CL_ABAP_RANDOM_INT has no event.
Types
Class CL_ABAP_RANDOM_INT has no local type.
Method Signatures

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing MAX Call by reference Type reference (TYPE) I 2147483647 Obere Grenze für Wertebereich 20030709
2 Importing MIN Call by reference Type reference (TYPE) I -2147483648 Untere Grenze für Wertebereich 20030709
3 Returning PRNG Value transfer Object reference (TYPE REF TO) CL_ABAP_RANDOM_INT Zufallszahlengenerator-Objekt 20030709
4 Importing SEED Call by reference Type reference (TYPE) I Initialwert des PRNGs 20030709
# Exception Resumable Description Created on
1 CX_ABAP_RANDOM Exception for CL_ABAP_RANDOM* 20030709

Method GET_NEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning VALUE Value transfer Type reference (TYPE) I Pseudozufallszahl 20030709

Method GET_NEXT on class CL_ABAP_RANDOM_INT has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 640