The java collection in python implementation. Now it includes BitSet
Project description
Why I do this project?
I'm trying to do some distinct integer statistics in java and operate it in python.
The python has a package named bitarray while it can't operate with java.util.BitSet
and which it has more constraints like the logical operation must be operated on same length bitset.
while the java BitSet doesn't have this constraint.
The java collections in python implementation
So this python implementation, shares same operation and data structures with java impl. Now it includes BitSet
install
pip install javaCollectionInPython
how to use?
see github and the example.py
note
- this code works on little endian machines. some code is removed. If needed, it can be easily fixed.
- some methods name is changed because of reserved word in python or the same method has different args not support.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for javacollectioninpython-0.0.7.tar.gz
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | 4caa1f1ed7651da073b1609c89b705486d96baddab05dabb263c90718e10c8dc |
|
| MD5 | 39a2514b43e5160a30ce04d34e5302bf |
|
| BLAKE2b-256 | dab7a8e7cf4b4965263b47680457453bacf2d0e6ca94cc1b177bba02406da827 |
Close
Hashes for javaCollectionInPython-0.0.7-py3-none-any.whl
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | 24216e6dc8cfd5bf2f3914b710c536353bf541025891cd666d3233399c205852 |
|
| MD5 | f1a17f6ee8ce676668dbc7a889686cf6 |
|
| BLAKE2b-256 | 776e5e075954dbfd57dfa3ad5d32e639bc7ac86b0ca747ea3c39096ac98ed446 |