LocalCacheEntryIndexOfMSB Method |
.NET API Reference for Oracle® Coherence Community Edition
(14.1.1.0)
E55634-01
Determine the most significant bit of the passed integral
value.
Namespace:
Tangosol.Net.Cache
Assembly:
Coherence (in Coherence.dll) Version: 14.1.1.1 (14.1.1.1)
Syntaxpublic virtual int IndexOfMSB(
int n
)
Parameters
- n
- Type: SystemInt32
An int.
Return Value
Type:
Int32
-1 if no bits are set; otherwise, the bit position
p of the most significant bit such that
1 << p is the most significant bit
of n
See Also