Path: csiph.com!aioe.org!.POSTED!not-for-mail From: =?UTF-8?Q?Arne_Vajh=c3=b8j?= Newsgroups: comp.lang.java.programmer Subject: Re: missing import java.lang.Comparable Date: Thu, 7 Jul 2016 16:59:09 -0400 Organization: Aioe.org NNTP Server Lines: 18 Message-ID: References: <86lh1o4eku.fsf@kwarg.de> <11952827-9dd1-48e7-b835-722a38023ce5@googlegroups.com> <00835840-56aa-4ba2-b496-e364a62a38e8@googlegroups.com> <8668311a-503f-46b6-909c-dcbfbfc5ce19@googlegroups.com> NNTP-Posting-Host: 7SK6yTFfqwlIPNBLl3l7Qg.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.lang.java.programmer:34778 On 7/1/2016 6:21 PM, Lew wrote: > On Thursday, June 30, 2016 at 11:45:52 PM UTC-7, Andreas Leitgeb wrote: >> Imho, Java lacks a feature that would allow one do assign local >> aliases for fully qualified class names. something like: >> import java.awt.List as AwtList; >> >> I seem to remember that other languages with hierarchical >> namespaces do have such a feature. > > Or you could just use the FQN for one of the conflicting types. Whatever is the big effing deal about that? It could make ones code look like Stefan's code ... :-) Arne