Go to the source code of this file.
◆ as_arraylist_iterator_destroy()
Destroy the iterator and releases resources used by the iterator.
- Parameters
-
iterator | The iterator to release |
◆ as_arraylist_iterator_has_next()
Tests if there are more values available in the iterator.
- Parameters
-
iterator | The iterator to be tested. |
- Returns
- true if there are more values. Otherwise false.
◆ as_arraylist_iterator_init()
Initializes a stack allocated as_iterator for as_arraylist.
- Parameters
-
iterator | The iterator to initialize. |
list | The list to iterate. |
- Returns
- On success, the initialized iterator. Otherwise NULL.
◆ as_arraylist_iterator_new()
Creates a new heap allocated as_iterator for as_arraylist.
- Parameters
-
- Returns
- On success, the new iterator. Otherwise NULL.
◆ as_arraylist_iterator_next()
Attempts to get the next value from the iterator. This will return the next value, and iterate past the value.
- Parameters
-
iterator | The iterator to get the next value from. |
- Returns
- The next value in the list if available. Otherwise NULL.