diff options
author | Sven Gothel <[email protected]> | 2015-08-02 01:12:21 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-08-02 01:12:21 +0200 |
commit | 047e9adaf2a5f51f7acfa194a744c99b6bfadaea (patch) | |
tree | c701ab77a9387cdec1a61c51b9ed289d5aa755e2 /src/java/com/jogamp/common/util/IntBitfield.java | |
parent | 805800e9b02acf54a6cc5a04ce94c9b465c42f43 (diff) |
Bitfield: Refine API method names, add clearField(boolean), fix put32(..) and bitCount(), add unit test (passed)
Diffstat (limited to 'src/java/com/jogamp/common/util/IntBitfield.java')
-rw-r--r-- | src/java/com/jogamp/common/util/IntBitfield.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/java/com/jogamp/common/util/IntBitfield.java b/src/java/com/jogamp/common/util/IntBitfield.java index 3ef5bb7..e7a9d70 100644 --- a/src/java/com/jogamp/common/util/IntBitfield.java +++ b/src/java/com/jogamp/common/util/IntBitfield.java @@ -140,10 +140,10 @@ public class IntBitfield { return prev; } /** - * @deprecated Use {@link Bitfield.Util#getBitCount(int)}. + * @deprecated Use {@link Bitfield.Util#bitCount(int)}. */ public static final int getBitCount(final int n) { - return Bitfield.Util.getBitCount(n); + return Bitfield.Util.bitCount(n); } /** @@ -155,7 +155,7 @@ public class IntBitfield { public long getBitCount() { long c = 0; for(int i = storage.length-1; i>=0; i--) { - c += Bitfield.Util.getBitCount(storage[i]); + c += Bitfield.Util.bitCount(storage[i]); } return c; } |