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: Fri, 8 Jul 2016 19:51:27 -0400 Organization: Aioe.org NNTP Server Lines: 22 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> <32d9a2ef-01d5-47ff-9fe6-46df87240bcf@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: 8bit 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:34810 On 7/8/2016 6:05 PM, Lew wrote: > On Thursday, July 7, 2016 at 1:59:20 PM UTC-7, Arne Vajhøj wrote: >> 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 ... > > No, because I said to use the FQN for *one* of the *conflicting* types. What was the next non-empty line after the last line you quoted? Arne