@@ -316,20 +316,20 @@ class AbstractList {
316
316
*/
317
317
bool isEmpty () { return getSize () == 0 ; }
318
318
319
- // /*!
320
- // * @brief Get an array which represent the list.
321
- // *
322
- // * @note If this list is empty, a nullptr will be returned.
323
- // * @note The memory for the array is dynamically allocated. the returned
324
- // * pointer has to be free'd with free() in order to prevent memory leaks. For
325
- // * further processing of the array, e.g. inserting new elements, the other
326
- // * method toArray(T* arr) is preferred!
327
- // * @note The array contains always immutable representations of the elements,
328
- // * saved in the list.
329
- // *
330
- // * @return Array representation of the list or nullptr if the list is
331
- // * empty.
332
- // */
319
+ //
320
+ // @brief Get an array which represent the list.
321
+ //
322
+ // @note If this list is empty, a nullptr will be returned.
323
+ // @note The memory for the array is dynamically allocated. the returned
324
+ // pointer has to be free'd with free() in order to prevent memory leaks. For
325
+ // further processing of the array, e.g. inserting new elements, the other
326
+ // method toArray(T* arr) is preferred!
327
+ // @note The array contains always immutable representations of the elements,
328
+ // saved in the list.
329
+ //
330
+ // @return Array representation of the list or nullptr if the list is
331
+ // empty.
332
+ //
333
333
// T *toArray() {
334
334
// if (getSize() == 0) {
335
335
// return nullptr;
@@ -341,39 +341,39 @@ class AbstractList {
341
341
// return arr;
342
342
// }
343
343
//
344
- // /*!
345
- // * @brief Fill the passed array with immutable objects.
346
- // *
347
- // * @note The array contains always immutable representations of the elements,
348
- // * saved in the list.
349
- // * @note Be sure, that the array has enough free space for all elements of the
350
- // * list.
351
- // *
352
- // * @param arr Array to fill.
353
- // */
344
+ //
345
+ // @brief Fill the passed array with immutable objects.
346
+ //
347
+ // @note The array contains always immutable representations of the elements,
348
+ // saved in the list.
349
+ // @note Be sure, that the array has enough free space for all elements of the
350
+ // list.
351
+ //
352
+ // @param arr Array to fill.
353
+ //
354
354
// void toArray(T *arr) {
355
355
// for (int i = 0; i < getSize(); i++) {
356
356
// arr[i] = get(i);
357
357
// }
358
358
// }
359
359
//
360
- // /*!
361
- // * @brief Create the list from given array.
362
- // * @note Removes all entries in current list.
363
- // *
364
- // * @param arr Array
365
- // * @param arrSize Size of Array
366
- // */
360
+ //
361
+ // @brief Create the list from given array.
362
+ // @note Removes all entries in current list.
363
+ //
364
+ // @param arr Array
365
+ // @param arrSize Size of Array
366
+ //
367
367
// void fromArray(T *arr, size_t arrSize) {
368
368
// this->clear();
369
369
// addAll(arr, arrSize);
370
370
// }
371
371
372
- // /*!
373
- // * @brief Sort the entries in the list with Quicksort.
374
- // *
375
- // * @param compFunc Comparator Method
376
- // */
372
+ //
373
+ // @brief Sort the entries in the list with Quicksort.
374
+ //
375
+ // @param compFunc Comparator Method
376
+ //
377
377
// void sort(int (*compFunc)(const void *, const void *)) {
378
378
// T *arr = this->toArray();
379
379
//
0 commit comments