Ah ha. I just figured it out. octave:11> x = java_get("HelloWorld$SpecialNames","Jane") x =
<Java object: HelloWorld.SpecialNames> octave:12> x.toString ans = Jane 2009/11/18 Michael Goffioul <michael.goffi...@gmail.com>: > Never tried that. You might want to try something like: > > java_get('Asset.AssetType', 'CASH') > > Michael. > > > On Wed, Nov 18, 2009 at 4:02 PM, Ken <kmai...@googlemail.com> wrote: >> I have a java class like: >> >> abstract public class Asset implements TickPriceListener { >> final static Logger logger = Logger.getLogger(Asset.class.getName()); >> private int uniqueId; >> private String symbol; >> private AssetType type; >> private Currency currency; >> private Exchange exchange; >> >> static public enum AssetType { >> >> CASH, >> STK, >> OPT, >> FUT >> }; >> >> static public enum Currency { >> >> USD, >> GBP, >> EUR >> }; >> >> public static enum Exchange { >> >> NYSE, >> GLOBEX, >> LSE >> }; >> >> } >> >> >> How can I access the enum types in this class with the java-1.2.6 package? >> >> >> Thanks, >> Ken >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Octave-dev mailing list >> Octave-dev@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/octave-dev >> > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev