Re: [tcljava-user] Restrictions on java::import command
Brought to you by:
mdejong
From: Mo D. <md...@un...> - 2005-10-21 00:49:39
|
On Thu, 20 Oct 2005 16:23:04 -0500 "Cargo, David" <Dav...@Xi...> wrote: > The documentation on the java::import commands says: > > The java::import command provides a means to specify Java class names in > a > shortened format. This functionality is the equivalent of the import > statement > in Java except that importing all classes from a package is not > supported. > > Is there any way to program around this? I looked at that at the time I wrote that and there was no Java API to support it. Anyway, it is not a good idea to being with, you should only import the classes you actually use. Importing the classes adds entries to a lookup table, so the total number of imports should be kept as small as possible. Mo DeJong |