Skip to main content

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

  1. this code works on little endian machines. some code is removed. If needed, it can be easily fixed.
  2. 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

javacollectioninpython-0.0.7.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

javaCollectionInPython-0.0.7-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file javacollectioninpython-0.0.7.tar.gz.

File metadata

  • Download URL: javacollectioninpython-0.0.7.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.3

File hashes

Hashes for javacollectioninpython-0.0.7.tar.gz
Algorithm Hash digest
SHA256 4caa1f1ed7651da073b1609c89b705486d96baddab05dabb263c90718e10c8dc
MD5 39a2514b43e5160a30ce04d34e5302bf
BLAKE2b-256 dab7a8e7cf4b4965263b47680457453bacf2d0e6ca94cc1b177bba02406da827

See more details on using hashes here.

File details

Details for the file javaCollectionInPython-0.0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for javaCollectionInPython-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 24216e6dc8cfd5bf2f3914b710c536353bf541025891cd666d3233399c205852
MD5 f1a17f6ee8ce676668dbc7a889686cf6
BLAKE2b-256 776e5e075954dbfd57dfa3ad5d32e639bc7ac86b0ca747ea3c39096ac98ed446

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page