Home News DOC Class DL Others Cooker
Class  >  long
long class

Description

Represents a 64 bit signed integer.

Notes

This class is a standard built-in class in the Rice language.

Instance that is created by declaration have been already initialized.

The initial value is 0.

The maximum value is 9,223,372,036,854,775,807.

The minimum value is -9,223,372,036,854,775,808.

fitter

SignatureDescription
long()

Get a new instance of long class with initial value.

long(int)

Get a new instance of long class with the same value as the argument.

long(long)

Get a new instance of long class with the same value as the argument.

getter

SignatureDescription
B

Get an instance of bool type with converted value from long value.

Fitted

Gets the value that indicates whether this instance was already initialized.

I

Gets an instance of the int type with the same value.

L

Gets an another instance of the long type with the same value.

Max

Returns the maximum value of the long type.

Min

Returns the minimum value of the long type.

R

Gets an instance of the real type with the same value.

S

Gets a string representation of the long value.

TypeName

Gets the type name.

setter

SignatureDescription
Value(int)

This setter will change only the value without changing the reference value.

Value(long)

This setter will change only the value without changing the reference value.

method

SignatureDescription
Clone()

Gets a new instance with the same value as the calling instance.

Dec()

After returning a new instance with the current value, decrement the value of the caller instance by one.

Dec(int)

After returning a new instance with the current value, decrement the value of the caller instance by the argument.

Dec(long)

After returning a new instance with the current value, decrement the value of the caller instance by the argument.

Hex()

Gets a string that represents the hexadecimal value.

Inc()

After returning a new instance with the current value, increment the value of the caller instance by one.

Inc(int)

After returning a new instance with the current value, increment the value of the caller instance by the argument.

Inc(long)

After returning a new instance with the current value, increment the value of the caller instance by the argument.

Oct()

Gets a string that represents the octal value.

ToString()

Gets a string representation of the integer value.

Copyright © Rice All rights reserved.