[OT] Type of import statement

2005-10-09 Thread N G
Does anyone know if it makes any kind of difference if you use * in your import statements like: import java.util.*; vs. import java.util.Collection; Is one better than the other? Does one take longer than the other when compiling/executing? Thanks, NG.

Re: [OT] Type of import statement

2005-10-09 Thread Frank W. Zammetti
It makes no difference at runtime. At compile-time a wildcard import can result in longer compile times, but it's one of those things where you would probably only notice in the aggregate. The difference, most of the time I'd say, won't be enough to be of any real concern. There is of