Files
abap/exercises/practice/matrix/zcl_matrix.clas.abap
Marian Zeis 166daed602 New exercise: Matrix (#42)
* new exercise matrix

* fix testclass name

* fix types table and switch back to returning

* using defined class from class in test class
2022-01-08 10:10:19 +01:00

35 lines
677 B
ABAP

CLASS zcl_matrix DEFINITION
PUBLIC
FINAL
CREATE PUBLIC .
PUBLIC SECTION.
TYPES integertab TYPE STANDARD TABLE OF i WITH EMPTY KEY.
METHODS matrix_row
IMPORTING
string TYPE string
index TYPE i
RETURNING
VALUE(result) TYPE integertab.
METHODS matrix_column
IMPORTING
string TYPE string
index TYPE i
RETURNING
VALUE(result) TYPE integertab.
PROTECTED SECTION.
PRIVATE SECTION.
ENDCLASS.
CLASS zcl_matrix IMPLEMENTATION.
METHOD matrix_row.
" add solution here
ENDMETHOD.
METHOD matrix_column.
" add solution here
ENDMETHOD.
ENDCLASS.