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

Part of canonical.launchpad.webapp.vocabulary View In Hierarchy

Known implementations: canonical.launchpad.webapp.vocabulary.CountableIterator

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 2010-09-27 00:00:11.