I'm having some difficulties with the ExpressionFactory doing the
in-memory querying.
Expression exp = ExpressionFactory.likeExp("description",desc);
Expression sLang = ExpressionFactory.likeExp("sourceLang",sl);
Expression tLang = ExpressionFactory.likeExp("targetLang",tl);
exp.andExp(sLang);
exp.andExp(tLang);
List filtered_entries= exp.filterObjects(budget_entries);
This only seems to filter based on the first expression, exp.
Is there anything wrong in this code? I'm perplexed.
Also, could anyone tell me what the exp.evaluate() does compared to the
filterObjects? Is this only in cases where you know the result is one
entry?
Thanks,
Fredrik
This archive was generated by hypermail 2.0.0 : Tue Apr 12 2005 - 15:43:52 EDT