Uses of Class
org.luaj.vm2.LuaNumber

Packages that use LuaNumber
org.luaj.vm2   
 

Uses of LuaNumber in org.luaj.vm2
 

Subclasses of LuaNumber in org.luaj.vm2
 class LuaDouble
          Extension of LuaNumber which can hold a Java double as its value.
 class LuaInteger
          Extension of LuaNumber which can hold a Java int as its value.
 

Fields in org.luaj.vm2 declared as LuaNumber
static LuaNumber LuaValue.MINUSONE
          LuaValue number constant equal to -1
static LuaNumber LuaValue.ONE
          LuaValue number constant equal to 1
static LuaNumber LuaValue.ZERO
          LuaValue number constant equal to 0
 

Methods in org.luaj.vm2 that return LuaNumber
 LuaNumber LuaDouble.checknumber()
           
 LuaNumber LuaNumber.checknumber()
           
 LuaNumber LuaString.checknumber()
           
 LuaNumber LuaValue.checknumber()
          Check that the value is numeric, and return as a LuaNumber if so, or throw LuaError
 LuaNumber Varargs.checknumber(int i)
          Return argument i as a LuaNumber, or throw an error if not a number or string that can be converted to a number.
 LuaNumber LuaNumber.checknumber(java.lang.String errmsg)
           
 LuaNumber LuaString.checknumber(java.lang.String msg)
           
 LuaNumber LuaValue.checknumber(java.lang.String msg)
          Check that the value is numeric, and return as a LuaNumber if so, or throw LuaError
 LuaNumber Varargs.optnumber(int i, LuaNumber defval)
          Return argument i as a LuaNumber, defval if nil, or throw a LuaError if not a number or string that can be converted to a number.
 LuaNumber LuaDouble.optnumber(LuaNumber defval)
           
 LuaNumber LuaNil.optnumber(LuaNumber defval)
           
 LuaNumber LuaNumber.optnumber(LuaNumber defval)
           
 LuaNumber LuaString.optnumber(LuaNumber defval)
           
 LuaNumber LuaValue.optnumber(LuaNumber defval)
          Check that optional argument is a number or string convertible to number and return as LuaNumber
static LuaNumber LuaDouble.valueOf(double d)
           
static LuaNumber LuaValue.valueOf(double d)
          Convert java double to a LuaValue.
static LuaNumber LuaInteger.valueOf(long l)
          Return a LuaNumber that represents the value provided
 

Methods in org.luaj.vm2 with parameters of type LuaNumber
 Buffer Buffer.concatTo(LuaNumber lhs)
          Concatenate this buffer onto a LuaNumber
 LuaValue LuaNumber.concatTo(LuaNumber lhs)
           
 LuaValue LuaString.concatTo(LuaNumber lhs)
           
 LuaValue LuaValue.concatTo(LuaNumber lhs)
          Reverse-concatenation: concatenate this value onto another value known to be a LuaNumber and return the result using rules of lua string concatenation including metatag processing.
 LuaNumber Varargs.optnumber(int i, LuaNumber defval)
          Return argument i as a LuaNumber, defval if nil, or throw a LuaError if not a number or string that can be converted to a number.
 LuaNumber LuaDouble.optnumber(LuaNumber defval)
           
 LuaNumber LuaNil.optnumber(LuaNumber defval)
           
 LuaNumber LuaNumber.optnumber(LuaNumber defval)
           
 LuaNumber LuaString.optnumber(LuaNumber defval)
           
 LuaNumber LuaValue.optnumber(LuaNumber defval)
          Check that optional argument is a number or string convertible to number and return as LuaNumber
 



Copyright © 2007-2008 Luaj.org. All Rights Reserved.