SAP ABAP Class CL_ABAP_RANDOM_FLOAT (CL_ABAP_RANDOM_FLOAT)
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 | 20030710 |
Properties
| Class | CL_ABAP_RANDOM_FLOAT | |
| 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 | 20030710 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_ABAP_RANDOM_FLOAT has no forward declaration.
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_SERIALIZABLE_OBJECT | Serializable Object | 20030710 |
Friends
Class CL_ABAP_RANDOM_FLOAT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_ABAP_RANDOM | Pseudo Random Number Generator | 20030710 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Create a PRNG for Floating Point Numbers | 20030710 | |
| 2 | Instance method | Public | Method | Next Pseudo Random Integer in [0,1] | 20030710 |
Events
Class CL_ABAP_RANDOM_FLOAT has no event.
Types
Class CL_ABAP_RANDOM_FLOAT has no local type.
Method Signatures
Method CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PRNG | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_RANDOM_FLOAT | Zufallszahlengenerator-Objekt | 20030710 | |||
| 2 | SEED | Call by reference | Type reference (TYPE) | I | Initialwert des PRNGs | 20030710 |
Method CREATE on class CL_ABAP_RANDOM_FLOAT has no exception.
Method GET_NEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | VALUE | Value transfer | Type reference (TYPE) | F | Pseudozufallszahl | 20030710 |
Method GET_NEXT on class CL_ABAP_RANDOM_FLOAT has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 640 |