Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Shimada666/super-stream
/ functions
Functions
57 in github.com/Shimada666/super-stream
⨍
Functions
57
◇
Types & classes
2
↓ 12 callers
Method
to_list
(self)
src/superstream/stream.py:117
↓ 4 callers
Method
reduce
(self, func: Callable[[T, T], T], initial: T = _initial_missing)
src/superstream/stream.py:60
↓ 2 callers
Method
any_match
this is equivalent to for i in self._stream: if func(i): return True return False
src/superstream/stream.py:99
↓ 2 callers
Method
filter
(self, func: Callable[[T], bool])
src/superstream/stream.py:33
↓ 2 callers
Method
find_first
(self)
src/superstream/stream.py:96
↓ 2 callers
Method
map
(self, func: Callable[[T], R])
src/superstream/stream.py:24
↓ 2 callers
Method
max
:param default: use default value when stream is empty :param key: at lease supported __lt__ method
src/superstream/stream.py:87
↓ 2 callers
Method
min
:param default: use default value when stream is empty :param key: at lease supported __lt__ method
src/superstream/stream.py:78
↓ 2 callers
Method
sum
(self, start: T = 0)
src/superstream/stream.py:51
↓ 2 callers
Method
to_dict
(self, k: Callable[[T], K], v: Callable[[T], U])
src/superstream/stream.py:123
↓ 1 callers
Method
all_match
(self, func: Callable[[T], bool])
src/superstream/stream.py:111
↓ 1 callers
Method
collect
(self, func: Callable[[Iterable[T]], R])
src/superstream/stream.py:129
↓ 1 callers
Method
collects
(self, func: Callable[[Iterable[T]], Iterable[R]])
src/superstream/stream.py:132
↓ 1 callers
Method
count
(self)
src/superstream/stream.py:46
↓ 1 callers
Method
distinct
(self)
src/superstream/stream.py:40
↓ 1 callers
Method
flat_map
(self, func: Callable[[T], 'Stream[R]'])
src/superstream/stream.py:30
↓ 1 callers
Method
for_each
(self, func: Callable[[T], None])
src/superstream/stream.py:36
↓ 1 callers
Method
group_by
(self, classifier: Callable[[T], K])
src/superstream/stream.py:54
↓ 1 callers
Function
identity
:param x: :return: itself, is equivalent to lambda x: x
src/superstream/util.py:6
↓ 1 callers
Method
limit
(self, max_size: int)
src/superstream/stream.py:72
↓ 1 callers
Method
none_match
(self, func: Callable[[T], bool])
src/superstream/stream.py:114
↓ 1 callers
Method
of
(*args: T)
src/superstream/stream.py:21
↓ 1 callers
Method
skip
(self, n: int)
src/superstream/stream.py:75
↓ 1 callers
Method
sorted
(self, key=None, reverse=False)
src/superstream/stream.py:43
↓ 1 callers
Method
star_map
(self, func: Callable[..., R])
src/superstream/stream.py:27
↓ 1 callers
Method
to_map
(self, k: Callable[[T], K], v: Callable[[T], U])
src/superstream/stream.py:126
↓ 1 callers
Method
to_set
(self)
src/superstream/stream.py:120
Method
__init__
(self, stream: Iterable[T])
src/superstream/stream.py:14
Method
__iter__
(self)
src/superstream/stream.py:17
Method
test_all_match
(self)
tests/test_stream.py:111
Method
test_any_match
(self)
tests/test_stream.py:106
Method
test_collect
(self)
tests/test_stream.py:150
Method
test_collects
(self)
tests/test_stream.py:155
Method
test_count
(self)
tests/test_stream.py:42
Method
test_distinct
(self)
tests/test_stream.py:32
Method
test_filter
(self)
tests/test_stream.py:23
Method
test_find_first
(self)
tests/test_stream.py:97
Method
test_flat_map
(self)
tests/test_stream.py:18
Method
test_for_each
(self)
tests/test_stream.py:28
Method
test_group_by
(self)
tests/test_stream.py:56
Function
test_identity
()
tests/test_util.py:4
Method
test_init
(self)
tests/test_stream.py:5
Method
test_limit
(self)
tests/test_stream.py:75
Method
test_map
(self)
tests/test_stream.py:8
Method
test_max
(self)
tests/test_stream.py:91
Method
test_min
(self)
tests/test_stream.py:85
Method
test_none_match
(self)
tests/test_stream.py:116
Method
test_of
(self)
tests/test_stream.py:147
Method
test_reduce
(self)
tests/test_stream.py:61
Method
test_set
(self)
tests/test_stream.py:126
Method
test_skip
(self)
tests/test_stream.py:80
Method
test_sorted
(self)
tests/test_stream.py:37
Method
test_star_map
(self)
tests/test_stream.py:13
Method
test_sum
(self)
tests/test_stream.py:47
Method
test_to_dict
(self)
tests/test_stream.py:131
Method
test_to_list
(self)
tests/test_stream.py:121
Method
test_to_map
(self)
tests/test_stream.py:139