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.
| Constructor Attributes | Constructor Name and Description |
|---|---|
| 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 Attributes | Method Name and Description |
|---|---|
|
decodeFromString(str)
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.
|
|
|
toString()
Returns a string representation of the integer.
|
|
|
valueOf()
Return the Number encapsulated in the 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.