public class BitOperations extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Numerics.BitOperations
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.CoreLib
|
static java.lang.String |
className
Qualified class name: System.Numerics.BitOperations
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
BitOperations() |
BitOperations(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static BitOperations |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into BitOperations, a cast assert is made to check if types are compatible. |
static UInt32 |
Crc32C(UInt32 crc,
byte data) |
static UInt32 |
Crc32C(UInt32 crc,
UInt16 data) |
static UInt32 |
Crc32C(UInt32 crc,
UInt32 data) |
static UInt32 |
Crc32C(UInt32 crc,
UInt64 data) |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
static boolean |
IsPow2(int value) |
static boolean |
IsPow2(long value) |
static boolean |
IsPow2(UInt32 value) |
static boolean |
IsPow2(UInt64 value) |
static int |
LeadingZeroCount(UInt32 value) |
static int |
LeadingZeroCount(UInt64 value) |
static int |
Log2(UInt32 value) |
static int |
Log2(UInt64 value) |
static int |
PopCount(UInt32 value) |
static int |
PopCount(UInt64 value) |
static UInt32 |
RotateLeft(UInt32 value,
int offset) |
static UInt64 |
RotateLeft(UInt64 value,
int offset) |
static UInt32 |
RotateRight(UInt32 value,
int offset) |
static UInt64 |
RotateRight(UInt64 value,
int offset) |
static UInt32 |
RoundUpToPowerOf2(UInt32 value) |
static UInt64 |
RoundUpToPowerOf2(UInt64 value) |
void |
setJCOInstance(JCObject instance) |
static int |
TrailingZeroCount(int value) |
static int |
TrailingZeroCount(long value) |
static int |
TrailingZeroCount(UInt32 value) |
static int |
TrailingZeroCount(UInt64 value) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public BitOperations()
throws java.lang.Throwable
java.lang.Throwablepublic BitOperations(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static BitOperations cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into BitOperations, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedBitOperations instancejava.lang.Throwable - in case of error during cast operationpublic static UInt32 Crc32C(UInt32 crc, byte data) throws java.lang.Throwable, PlatformNotSupportedException
java.lang.ThrowablePlatformNotSupportedExceptionpublic static UInt32 Crc32C(UInt32 crc, UInt16 data) throws java.lang.Throwable, PlatformNotSupportedException
java.lang.ThrowablePlatformNotSupportedExceptionpublic static UInt32 Crc32C(UInt32 crc, UInt32 data) throws java.lang.Throwable, PlatformNotSupportedException
java.lang.ThrowablePlatformNotSupportedExceptionpublic static UInt32 Crc32C(UInt32 crc, UInt64 data) throws java.lang.Throwable, PlatformNotSupportedException
java.lang.ThrowablePlatformNotSupportedExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic static boolean IsPow2(int value)
throws java.lang.Throwable
java.lang.Throwablepublic static boolean IsPow2(long value)
throws java.lang.Throwable
java.lang.Throwablepublic static boolean IsPow2(UInt32 value) throws java.lang.Throwable
java.lang.Throwablepublic static boolean IsPow2(UInt64 value) throws java.lang.Throwable
java.lang.Throwablepublic static int LeadingZeroCount(UInt32 value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException
public static int LeadingZeroCount(UInt64 value) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic static int Log2(UInt32 value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException
public static int Log2(UInt64 value) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic static int PopCount(UInt32 value) throws java.lang.Throwable
java.lang.Throwablepublic static int PopCount(UInt64 value) throws java.lang.Throwable
java.lang.Throwablepublic static UInt32 RotateLeft(UInt32 value, int offset) throws java.lang.Throwable
java.lang.Throwablepublic static UInt64 RotateLeft(UInt64 value, int offset) throws java.lang.Throwable
java.lang.Throwablepublic static UInt32 RotateRight(UInt32 value, int offset) throws java.lang.Throwable
java.lang.Throwablepublic static UInt64 RotateRight(UInt64 value, int offset) throws java.lang.Throwable
java.lang.Throwablepublic static UInt32 RoundUpToPowerOf2(UInt32 value) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic static UInt64 RoundUpToPowerOf2(UInt64 value) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic static int TrailingZeroCount(int value)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic static int TrailingZeroCount(long value)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic static int TrailingZeroCount(UInt32 value) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
public static int TrailingZeroCount(UInt64 value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedException