Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #37614
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Eric Sosman <esosman@comcast-dot-net.invalid> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: A name and its relation with two types |
| Date | Mon, 30 Oct 2017 18:14:00 -0400 |
| Organization | A noiseless patient Spider |
| Lines | 32 |
| Message-ID | <ot887a$poo$1@dont-email.me> (permalink) |
| References | <name-20171030224904@ram.dialup.fu-berlin.de> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Transfer-Encoding | 8bit |
| Injection-Date | Mon, 30 Oct 2017 22:14:03 -0000 (UTC) |
| Injection-Info | reader02.eternal-september.org; posting-host="258e61baa80aa98c1b69d273992bc8a2"; logging-data="26392"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18W0/2MOBmnbXBVCICcPvc2" |
| User-Agent | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 |
| In-Reply-To | <name-20171030224904@ram.dialup.fu-berlin.de> |
| Content-Language | en-US |
| Cancel-Lock | sha1:ra5UqDKH6V6PEjvST16tYgOyml4= |
| Xref | csiph.com comp.lang.java.programmer:37614 |
Show key headers only | View raw
On 10/30/2017 5:53 PM, Stefan Ram wrote:
> The field »java.lang.System.out« has a tight relation with
> two types: »java.lang.System« (as »java.lang.System.out« is
> a field of »java.lang.System«) and »java.io.PrintStream«
> (which is the type of the expressions »java.lang.System.out«).
>
> Can someone help me to find appropriate and clear words for
> the ellipses in the following two sentences?
>
> »java.lang.System« is the ... of »java.lang.System.out«.
> »java.io.PrintStream« is the ... of »java.lang.System.out«.
How about "class containing" and "type of", respectively?
... but I'm not sure it's worth a whole lot of fuss. I can't
see any difference between your example and
package circus;
class Clown {
public static String name = "Bozo";
}
»circus.Clown is the class containing circus.Clown.name«.
»java.lang.String is the type of circus.Clown.name«.
... which seems so perfectly ordinary and obvious as not to merit
a whole lot of commentary. YMMV.
--
esosman@comcast-dot-net.invalid
Eleven hundred seventy-eight days to go.
Back to comp.lang.java.programmer | Previous | Next | Find similar | Unroll thread
Re: A name and its relation with two types Eric Sosman <esosman@comcast-dot-net.invalid> - 2017-10-30 18:14 -0400
csiph-web