fluentfs.common.functional.FunctionalIterator

class fluentfs.common.functional.FunctionalIterator(it: Iterable[T])

Bases: Generic[T]

__init__(it: Iterable[T]) None

Methods

__init__(it)

filter(fun)

for_each(fun)

len()

list()

map(fun)

map_self(fun)

max()

min()

reduce(fun, start)

sort([key])

sort_asc([key])

sort_desc([key])

sum()

table(col_names, row_fun)

top_n(n)