Class Long
public class Long : Number, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable, INativeConvertible<Long, long>
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Serializable>Long
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<Serializable>.IsAssignableFrom(IJavaType)JVMBridgeBase<Serializable>.IsAssignableFrom<T>()JVMBridgeBase<Serializable>.Execute<T>(params T[])JVMBridgeBase<Serializable>.DynBridgeClazzJVMBridgeBase<Serializable>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
Long()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public Long()
Long(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public Long(params object[] args)
Parameters
args
object[]
Properties
BYTES
public static int BYTES { get; }
Property Value
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
MAX_VALUE
public static long MAX_VALUE { get; }
Property Value
MIN_VALUE
public static long MIN_VALUE { get; }
Property Value
SIZE
public static int SIZE { get; }
Property Value
TYPE
public static Class TYPE { get; }
Property Value
Methods
BitCount(long)
public static int BitCount(long arg0)
Parameters
Returns
Compare(long, long)
public static int Compare(long arg0, long arg1)
Parameters
Returns
CompareTo(Long)
public int CompareTo(Long arg0)
Parameters
Returns
CompareTo(object)
public int CompareTo(object arg0)
Parameters
Returns
CompareUnsigned(long, long)
public static int CompareUnsigned(long arg0, long arg1)
Parameters
Returns
Decode(String)
public static Long Decode(String arg0)
Parameters
Returns
Exceptions
DivideUnsigned(long, long)
public static long DivideUnsigned(long arg0, long arg1)
Parameters
Returns
GetLong(String)
public static Long GetLong(String arg0)
Parameters
Returns
GetLong(String, Long)
public static Long GetLong(String arg0, Long arg1)
Parameters
Returns
GetLong(String, long)
public static Long GetLong(String arg0, long arg1)
Parameters
Returns
HashCode(long)
public static int HashCode(long arg0)
Parameters
Returns
HighestOneBit(long)
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Long.html#highestOneBit(long)
public static long HighestOneBit(long arg0)
Parameters
Returns
LowestOneBit(long)
public static long LowestOneBit(long arg0)
Parameters
Returns
Max(long, long)
public static long Max(long arg0, long arg1)
Parameters
Returns
Min(long, long)
public static long Min(long arg0, long arg1)
Parameters
Returns
NumberOfLeadingZeros(long)
public static int NumberOfLeadingZeros(long arg0)
Parameters
Returns
NumberOfTrailingZeros(long)
public static int NumberOfTrailingZeros(long arg0)
Parameters
Returns
ParseLong(CharSequence, int, int, int)
public static long ParseLong(CharSequence arg0, int arg1, int arg2, int arg3)
Parameters
arg0
CharSequencearg1
intarg2
intarg3
int
Returns
Exceptions
ParseLong(String)
public static long ParseLong(String arg0)
Parameters
Returns
Exceptions
ParseLong(String, int)
public static long ParseLong(String arg0, int arg1)
Parameters
Returns
Exceptions
ParseUnsignedLong(CharSequence, int, int, int)
public static long ParseUnsignedLong(CharSequence arg0, int arg1, int arg2, int arg3)
Parameters
arg0
CharSequencearg1
intarg2
intarg3
int
Returns
Exceptions
ParseUnsignedLong(String)
public static long ParseUnsignedLong(String arg0)
Parameters
Returns
Exceptions
ParseUnsignedLong(String, int)
public static long ParseUnsignedLong(String arg0, int arg1)
Parameters
Returns
Exceptions
RemainderUnsigned(long, long)
public static long RemainderUnsigned(long arg0, long arg1)
Parameters
Returns
Reverse(long)
public static long Reverse(long arg0)
Parameters
Returns
ReverseBytes(long)
public static long ReverseBytes(long arg0)
Parameters
Returns
RotateLeft(long, int)
public static long RotateLeft(long arg0, int arg1)
Parameters
Returns
RotateRight(long, int)
public static long RotateRight(long arg0, int arg1)
Parameters
Returns
Signum(long)
public static int Signum(long arg0)
Parameters
Returns
Sum(long, long)
public static long Sum(long arg0, long arg1)
Parameters
Returns
ToBinaryString(long)
public static String ToBinaryString(long arg0)
Parameters
Returns
ToHexString(long)
public static String ToHexString(long arg0)
Parameters
Returns
ToJVM(long)
Returns the Long from the clrValue
instance
public static Long ToJVM(long clrValue)
Parameters
Returns
ToOctalString(long)
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Long.html#toOctalString(long)
public static String ToOctalString(long arg0)
Parameters
Returns
ToString(long)
public static String ToString(long arg0)
Parameters
Returns
ToString(long, int)
public static String ToString(long arg0, int arg1)
Parameters
Returns
ToUnsignedString(long)
public static String ToUnsignedString(long arg0)
Parameters
Returns
ToUnsignedString(long, int)
public static String ToUnsignedString(long arg0, int arg1)
Parameters
Returns
ValueOf(String)
public static Long ValueOf(String arg0)
Parameters
Returns
Exceptions
ValueOf(String, int)
public static Long ValueOf(String arg0, int arg1)
Parameters
Returns
Exceptions
ValueOf(long)
public static Long ValueOf(long arg0)
Parameters
Returns
Operators
implicit operator Comparable(Long)
Converter from Long to Comparable
public static implicit operator Comparable(Long t)
Parameters
t
Long
Returns
implicit operator long(Long)
public static implicit operator long(Long b)
Parameters
b
Long
Returns
implicit operator long?(Long)
Converter from Long to Nullable<T>
public static implicit operator long?(Long b)
Parameters
b
Long
Returns
- long?
implicit operator Long(long)
public static implicit operator Long(long b)
Parameters
b
long
Returns
implicit operator Long(long?)
Converter from Nullable<T> to Long
public static implicit operator Long(long? b)
Parameters
b
long?