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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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