|
RE: To stupid to live??? Problems with coercing non-numeric types.: msg#00057lang.jython.user
Great, that does the trick nicely. Thanks. -----Original Message----- From: jython-users-admin@xxxxxxxxxxxxxxxxxxxxx [mailto:jython-users-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Jeff Emanuel Sent: 23 May 2005 15:59 To: "Alex Pollitt"@frii.com Cc: Jython Usesr Subject: Re: [Jython-users] 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 _______________________________________________ Jython-users mailing list Jython-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/jython-users ------------------------------------------------------- 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_idt12&alloc_id344&op=click
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | using someone elses' jar file, ytcm47-jythonuserslist |
|---|---|
| Next by Date: | Re: using someone elses' jar file, Jeff Emanuel |
| Previous by Thread: | Re: To stupid to live??? Problems with coercing non-numeric types., Jeff Emanuel |
| Next by Thread: | RE: To stupid to live??? Problems with coercing non-numeric types., Alex Pollitt |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |