File: _jcollection.pyi

package info (click to toggle)
python-jpype 1.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,984 kB
  • sloc: python: 18,767; cpp: 17,931; java: 8,448; xml: 1,305; makefile: 154; sh: 35
file content (47 lines) | stat: -rw-r--r-- 856 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
from typing import Any, Iterable, Collection, List, Set, Mapping, Tuple, TypeVar, Iterator, Generator, Union, overload, Dict

E = TypeVar('E')
K = TypeVar('K')
V = TypeVar('V')


class _JIterable(Iterable[E]):
    def __iter__(self) -> Iterator[E]: ...


class _JCollection(Collection[E]):
    def __len__(self) -> int: ...

    def __delitem__(self, i: E) -> None: ...

    def __contains__(self, i: Any) -> bool: ...

    def __iter__(self) -> Iterator[E]: ...


class _JList(List[E]):
    pass


class _JMap(Dict[K, V]):
    def __len__(self) -> int: ...

    def __iter__(self) -> Iterator[K]: ...

    def __getitem__(self, ndx: K) -> V: ...


class _JSet(Set[E]):
    pass


class _JMapEntry(Tuple[K, V]):
    pass


class _JIterator(Iterator[E]):
    def __next__(self) -> E: ...


class _JEnumeration(Iterator[E]):
    def __next__(self) -> E: ...