Java.Lang.Long.ValueOf Method
Returns a Long instance for the specified long value.

Syntax

[Android.Runtime.Register("valueOf", "(J)Ljava/lang/Long;", "")]
public static Long ValueOf (long lng)

Parameters

v
the long value to store in the instance.

Returns

Documentation for this section has not yet been entered.

Remarks

Returns a Long instance for the specified long value.

If it is not necessary to get a new Long instance, it is recommended to use this method instead of the constructor, since it maintains a cache of instances which may result in better performance.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1