RE: JESS: exchanging values between ess and Java via UserFunction

2007-05-17 Thread Skeptic 2000
Hi, doesn't know the exact type... so I use the javaObjectValue method to Value has a type() method which tells you what kind of Value you've got. javaObjectValue() won't create an object -- it will only return an exusting object, if there is one (for resolved values, only for types

Re: JESS: exchanging values between ess and Java via UserFunction

2007-05-17 Thread Ernest Friedman-Hill
On Thursday 17 May 2007 12:32:47 am Skeptic 2000 wrote: Oops, I should have said that I had already figured that Java 5 features were probably linked to the problem. Any plan to fix the disparities between int and Integer in Jess ? (Probably not for backward compatibilty?) When Jess 8 rolls

JESS: exchanging values between ess and Java via UserFunction

2007-05-16 Thread Skeptic 2000
Hi, I'm having some trouble with value exchange between Jess and Java via UserFunctions that are implemented in Java.First problem : A first UserFunction receives 1 argument from Jess and doesn't know the exact type, so I use the javaObjectValue method to extract in a Object variable. Problem

Re: JESS: exchanging values between ess and Java via UserFunction

2007-05-16 Thread Ernest Friedman-Hill
On Wednesday 16 May 2007 1:05:29 pm Skeptic 2000 wrote: doesn't know the exact type... so I use the javaObjectValue method to Value has a type() method which tells you what kind of Value you've got. javaObjectValue() won't create an object -- it will only return an exusting object, if there