BitSet
pentaho.util. BitSet
Extends
Constructor
Name | Description |
---|---|
new BitSet(bits) | Creates a bit set instance. |
Members
Name | Description |
---|---|
base : Protected | If a method has been overridden, then the base method provides access to the overridden method. |
isEmpty : | Gets a value that indicates if there are no bits set. |
Methods
Name | Description |
---|---|
clear(mask) | Clears the given bits. |
extend(source, keyArgs) : Object | Extend an object with the properties of another. |
get() : number | Gets an integer number with the bits currently set. |
is(mask) : boolean | Returns a value that indicates if the current state is equal to a given mask. |
isSubsetOf(mask) : boolean | Returns a value that indicates if the current state is a subset of a given mask. |
set(mask) | Sets on the given bits. |
Constructor Details
new BitSet(bits) | ||||||
---|---|---|---|---|---|---|
Creates a bit set instance. Source: javascript/web/pentaho/util/BitSet.js, line 26
|
Members Details
base: Protected |
---|
If a method has been overridden, then the base method provides access to the overridden method. Can also be called from within a constructor function. Source: javascript/web/pentaho/lang/Base.js, line 299 Inherited From: pentaho.lang.Base#base |
isEmpty: |
---|
Gets a value that indicates if there are no bits set. |
Methods Details
clear(mask) | ||||||
---|---|---|---|---|---|---|
Clears the given bits. Source: javascript/web/pentaho/util/BitSet.js, line 74
|
extend(source, keyArgs) : Object | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Extend an object with the properties of another. Methods that are overridden are accessible through This object is extended, but its class doesn't change. Source: javascript/web/pentaho/lang/Base.js, line 1037 Inherited From: pentaho.lang.Base#extend
|
get() : number | ||||
---|---|---|---|---|
Gets an integer number with the bits currently set. Source: javascript/web/pentaho/util/BitSet.js, line 45
|
is(mask) : boolean | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Returns a value that indicates if the current state is equal to a given mask. Source: javascript/web/pentaho/util/BitSet.js, line 56
|
isSubsetOf(mask) : boolean | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Returns a value that indicates if the current state is a subset of a given mask. Use this method to assert if no bits other than those described by the mask are currently set. Source: javascript/web/pentaho/util/BitSet.js, line 87
|
set(mask) | ||||||
---|---|---|---|---|---|---|
Sets on the given bits. Source: javascript/web/pentaho/util/BitSet.js, line 65
|