Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Advanced-java] Dynamic Expression in Java
- From: mike@xxxxxxxxxxxxxxxx (Michael Shoemaker)
- Subject: [Advanced-java] Dynamic Expression in Java
- Date: Mon, 18 Mar 2002 06:16:56 -0800 (PST)
Anyone know of a way to dynamically create an
expression within java and have it executed.
For example
Object obj1 = // some object
Object obj2 = // some object
String strComp = "==";
Now I need to dynamically generate the conditional.
if (str1 strComp str2) {
// Do something useful
}
Thanks in advance.
=====
Mike Shoemaker
Mike@xxxxxxxxxxxxxxxx
Visit my website
http://www.PavolDemitra.com
__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/
- Follow-Ups:
- [Advanced-java] Dynamic Expression in Java
- From: Paul Philion
- [Advanced-java] Dynamic Expression in Java
- References:
- [Advanced-java] NYJavaSIG - Pink Noise - 3/20 Mtg
- From: fgreco@xxxxxxxxxxxxxxxxxx
- [Advanced-java] NYJavaSIG - Pink Noise - 3/20 Mtg
- Prev by Date: [Advanced-java] NYJavaSIG - Pink Noise - 3/20 Mtg
- Next by Date: [Advanced-java] Dynamic Expression in Java
- Previous by thread: [Advanced-java] NYJavaSIG - Pink Noise - 3/20 Mtg
- Next by thread: [Advanced-java] Dynamic Expression in Java
- Index(es):