Class Index | File Index

Classes


Class baja.Long


Extends baja.Simple.
Represents a baja:Long in BajaScript.

Boxes JavaScript Number to represent a baja:Long.

When creating a Simple, always use the 'make' method instead of creating a new Object.
Defined in: obj.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
<static>  
baja.Long.DEFAULT
Default Simple instance.
<static>  
baja.Long.MAX_VALUE
Long Max Value.
<static>  
baja.Long.MIN_VALUE
Long Min Value.
Fields borrowed from class baja.Value:
newCopy
Fields borrowed from class baja.Object:
equivalent, getIcon
Method Summary
Method Attributes Method Name and Description
 
Decode a Long from a String.
 
Encode the Long to a String.
 
equals(obj)
Equality test.
 
Return the Symbol used for encoding this data type (primarily used for facets).
<static>  
baja.Long.make(num)
Make a Long.
 
make(num)
Make a Long.
 
Returns a string representation of the integer.
 
Return the Number encapsulated in the Long.
Class Detail
baja.Long()
Field Detail
<static> baja.Long.DEFAULT
Default Simple instance.

<static> baja.Long.MAX_VALUE
Long Max Value.

<static> baja.Long.MIN_VALUE
Long Min Value.
Method Detail
{baja.Long} decodeFromString(str)
Decode a Long from a String.
Parameters:
{String} str
Returns:
{baja.Long}

{String} encodeToString()
Encode the Long to a String.
Returns:
{String}

{Boolean} equals(obj)
Equality test.
Parameters:
obj
Returns:
{Boolean}

{String} getDataTypeSymbol()
Return the Symbol used for encoding this data type (primarily used for facets).
Returns:
{String} the Symbol used for encoding this data type (primarily used for facets).

<static> {baja.Long} baja.Long.make(num)
Make a Long.
Parameters:
{Number} num
the Long for the Simple.
Returns:
{baja.Long} the Long.

{baja.Long} make(num)
Make a Long.
Parameters:
{Number} num
the Long for the Simple.
Returns:
{baja.Long} the Long.

{String} toString()
Returns a string representation of the integer.
Returns:
{String}

{Number} valueOf()
Return the Number encapsulated in the Long.
Returns:
{Number} Number for the Long.

Documentation generated by JsDoc Toolkit 2.3.2