Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | IntBitfield: Fix ctor: min 1 unit; Fix getBitCount(): Use unsigned ↵ | Sven Gothel | 2014-01-09 | 1 | -9/+14 |
| | | | | right-shift '>>>' | ||||
* | gluegen: remove trailing whitespace | Harvey Harrison | 2013-10-17 | 1 | -21/+21 |
| | | | | Signed-off-by: Harvey Harrison <[email protected]> | ||||
* | IntBitfield: Add bit-count, O(1) per int-element, using HAKEM. | Sven Gothel | 2013-04-11 | 1 | -0/+26 |
| | |||||
* | IntBitfield: Add optimization path w/ int bitCount bitfield range. Replace ↵ | Sven Gothel | 2013-04-11 | 1 | -12/+60 |
| | | | | '* 32' -> '<< 5', same for division. | ||||
* | IntBitfield: Add API doc; Enhance put() method, return previous value to be ↵ | Sven Gothel | 2012-10-27 | 1 | -7/+27 |
| | | | | used more versatile and write only if value changed. | ||||
* | Adding com.jogamp.common.util.IntBitfield: Simple bitfield holder class ↵ | Sven Gothel | 2012-10-27 | 1 | -0/+71 |
using an int[] storage. IntBitfield comes in handy to store bit states of a wide value range w/o being a memory hog an O(1) access, e.g. keyCode -> isPressed maps etc. |