l.s.w.v.ICountableIterator(Interface) : interface documentation

Part of lp.services.webapp.vocabulary View In Hierarchy

An iterator that knows how many items it has.
Method count Return the number of items in the iterator.
Method __iter__ Iterate over items.
Method __getitem__ Return a slice or item of the collection.
Method __len__ Synonym for ICountableIterator.count.
Method __getslice__ Return a slice of the collection.
def count():
Return the number of items in the iterator.
def __iter__():
Iterate over items.
def __getitem__(argument):
Return a slice or item of the collection.
def __len__():
Synonym for ICountableIterator.count.
def __getslice__(argument):
Return a slice of the collection.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.