Displaying 1 result from an estimated 1 matches for "const_accessor".
2007 Feb 06
0
yajb - java-ruby bridge
...the java libraries i was using started
misbehaving. now i''m giving yajb a shot which seems to behave the way
i expect it to and is a lot simpler to code. my problem:
i have a class that takes a constant, which is a member of the class,
so i have to do something like this to make it work:
const_accessor = jnew :SearchCriteria, "dfdfa", "dasf", 0
#we can access constants from class now
search = jnew :SearchCriteria, "FirstName", "Stuart",
const_accessor.CRITERIA_EQUALS
#this works..
i tried this:
search = jnew :SearchCriteria, "FirstName",
"St...