zk
Class Long

java.lang.Object
  extended by zk.Object
      extended by zk.Long

public class Long
extends Object

A long integer.


Field Summary
 
Fields inherited from class zk.Object
$class, $oid
 
Method Summary
 void $init(Object value)
          Constructor.
 String $toLocaleString()
          Returns a Locale-dependent string for this long integer.
 String $toString()
          Returns a string for this long integer To have a Locale-dependent string, use $toLocaleString() instead.
 void scale(int digits)
          Scales the number as value * 10 ^ digits.
 
Methods inherited from class zk.Object
$init, $instanceof, $super, $super, $supers, $supers, afterInit, isAssignableFrom, isInstance, proxy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

$init

public void $init(Object value)
Constructor.

Parameters:
value - a number or a string

scale

public void scale(int digits)
Scales the number as value * 10 ^ digits.

Parameters:
digits - the number of digits to scale. If zero, nothing changed.
Since:
5.0.10.

$toString

public String $toString()
Returns a string for this long integer To have a Locale-dependent string, use $toLocaleString() instead.

Returns:
String

$toLocaleString

public String $toLocaleString()
Returns a Locale-dependent string for this long integer.

Returns:
String


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo