Reference
Classes
Main classes provided by the package
- Collection
-
A custom collection with dunder methods.
Collection Methods
Methods for the Collection class
- Collection.__repr__()
-
String representation.
- Collection.__eq__()
-
Check equality.
- Collection.__len__()
-
Get the number of items.
- Collection.__getitem__()
-
Get an item by index.
- Collection.add()
-
Add an item to the collection.
- Collection.clear()
-
Remove all items from the collection.