SAP ABAP Class CL_ABAP_RANDOM_PACKED (CL_ABAP_RANDOM_PACKED)
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 20030714
Properties
Class CL_ABAP_RANDOM_PACKED  
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 20030714   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_ABAP_RANDOM Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
# Interface Abstract Final Description Created on
1 IF_SERIALIZABLE_OBJECT Serializable Object 20030714
Friends
Class CL_ABAP_RANDOM_PACKED has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 BIN_SIZE Instance attribute Protected Type reference (TYPE) P31_0 20030715
2 COLLECTIVE_BIN_SIZE Instance attribute Protected Type reference (TYPE) P31_0 20030715
3 DIRECT_MAPPING_REQUIRED Instance attribute Private Type reference (TYPE) ABAP_BOOL 20030714
4 FALSE Constant Protected Type reference (TYPE) ABAP_BOOL SPACE Truth Value: FALSE 20030715
5 MAX Instance attribute Protected Type reference (TYPE) P31_0 Upper Interval Limit 20030715
6 MAX_PACKED Constant Protected Type reference (TYPE) P31_0 9999999999999999999999999999999 Maximum Packed Value 20030715
7 MIN Instance attribute Protected Type reference (TYPE) P31_0 Lower Interval Limit 20030715
8 MIN_PACKED Instance attribute Protected Type reference (TYPE) P31_0 -9999999999999999999999999999999 Minumum Packed Value 20030715
9 PRNG Instance attribute Protected Object reference (TYPE REF TO) CL_ABAP_RANDOM Pseudo Random Number Generator 20030715
10 TRUE Constant Protected Type reference (TYPE) ABAP_BOOL 'X' Truth Value: TRUE 20030715
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20030714
2 CREATE Static method Public Method Create a PRNG for packed numbers 20030714
3 GET_NEXT Instance method Public Method Next "Packed" Pseudo Random Number in [min,max] 20030714
Events
Class CL_ABAP_RANDOM_PACKED has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 P31_0 Public Type reference (TYPE) CL_ABAP_RANDOM=>P31_0 Data Type: Packed, 31 Characters, no Decimal Places 20030714
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing MAX Call by reference Type reference (TYPE) P31_0 20030714
2 Importing MIN Call by reference Type reference (TYPE) P31_0 20030714
3 Importing SEED Call by reference Type reference (TYPE) I 20030714
# Exception Resumable Description Created on
1 CX_ABAP_RANDOM Exception for CL_ABAP_RANDOM* 20030714

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) P31_0 9999999999999999999999999999999 Obere Grenze für Wertebereich 20030714
2 Importing MIN Call by reference Type reference (TYPE) P31_0 -9999999999999999999999999999999 Untere Grenze für Wertebereich 20030714
3 Returning PRNG Value transfer Object reference (TYPE REF TO) CL_ABAP_RANDOM_PACKED Zufallszahlengenerator-Objekt 20030714
4 Importing SEED Call by reference Type reference (TYPE) I Initialwert des PRNGs 20030714
# Exception Resumable Description Created on
1 CX_ABAP_RANDOM Exception for CL_ABAP_RANDOM* 20030714

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) P31_0 Pseudozufallszahl 20030714

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