contents   index   previous   next



interface: SEDefaultValueCallback

 

   public void defaultValue(SEContext se,int hint);

 

When an object is used in a situation when it has to be converted to a primitive value (i.e. a string or number), this callback is used to do so. The only parameter is hint, the type that the system needs the value as. It is permissible to always convert to a single primitive type, which will then itself be converted to the correct value, if you don't want to take the hint into account. Return the value in the SE.RETURN object.

 


interface: SEOperatorOverloadCallback