logo       

Re: To stupid to live??? Problems with coercing non-numeric types.: msg#00054

lang.jython.user

Subject: Re: To stupid to live??? Problems with coercing non-numeric types.


Define a __tojava__ method in your class.

class StringValue:
def __init__(self,s):
self.s=s
def __tojava__(self,cls):
return self.s.__tojava__(cls)



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise