Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #36716
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Martin Gregorie <martin@address-in-sig.invalid> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: How to parse an array? |
| Date | Sat, 24 Jun 2017 22:42:14 -0000 (UTC) |
| Organization | A noiseless patient Spider |
| Lines | 36 |
| Message-ID | <oimps5$g3v$1@dont-email.me> (permalink) |
| References | <b36c14f6-dfe7-492e-99ab-7bb7aeb35ac3@googlegroups.com> <English-20170620202702@ram.dialup.fu-berlin.de> <oimi4i$9ko$1@jstuckle.eternal-september.org> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 8bit |
| Injection-Date | Sat, 24 Jun 2017 22:42:14 -0000 (UTC) |
| Injection-Info | mx02.eternal-september.org; posting-host="be0704d54cf3224c0a016846238a7c5b"; logging-data="16511"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+QaI8magG2Xky8i6g036ovCi1OZDZ8e/E=" |
| User-Agent | Pan/0.141 (Tarzan's Death; 168b179 git.gnome.org/pan2) |
| Cancel-Lock | sha1:dF8ToAslE+NrIIUTlYT//+lxwCQ= |
| Xref | csiph.com comp.lang.java.programmer:36716 |
Show key headers only | View raw
On Sat, 24 Jun 2017 16:34:08 -0400, Jerry Stuckle wrote: > On 6/20/2017 3:29 PM, Stefan Ram wrote: >> Eric Douglas <e.d.programmer@gmail.com> writes: >>> I'm writing a method to take 2 arrays and return the subset of the >>> first array. >> >> »The subset of the first array« makes no sense in English, >> because >> >> > It makes perfect sense in the mathematical realm. A set is a group of > values (or similar). A subset is another group of values, all of which > are members of the original set. The subset may contain all of the > values in the original set, or only some of the values in the original > set. But it does not contain any values not in the original set. > However, this doesn't apply to the OP's example code. His larger array contains alphabetic valueds, while the second list contains integer values, IOW it is not a subset of the first array. > In this particular case, a subset of the array would be another array > containing some (or all) of the values in the original array. > But that's not what it contains. In fact it looks as though its meant to be a list of subscripts referencing the first array. I don't know what I'd call it other than a list of subscripts, but it clearly doesn't match your definition of a subset. -- martin@ | Martin Gregorie gregorie. | Essex, UK org |
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to parse an array? Eric Douglas <e.d.programmer@gmail.com> - 2017-06-20 12:18 -0700
Re: How to parse an array? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2017-06-20 14:49 -0500
Re: How to parse an array? Arne Vajhøj <arne@vajhoej.dk> - 2017-06-20 16:15 -0400
Re: How to parse an array? Eric Sosman <esosman@comcast-dot-net.invalid> - 2017-06-20 16:23 -0400
Re: How to parse an array? Robert Klemme <shortcutter@googlemail.com> - 2017-06-24 12:02 +0200
Re: How to parse an array? Eric Douglas <e.d.programmer@gmail.com> - 2017-06-26 05:10 -0700
Re: How to parse an array? Eric Sosman <esosman@comcast-dot-net.invalid> - 2017-06-26 09:36 -0400
Re: How to parse an array? Eric Douglas <e.d.programmer@gmail.com> - 2017-06-26 07:47 -0700
Re: How to parse an array? Martin Gregorie <martin@address-in-sig.invalid> - 2017-06-26 15:47 +0000
Re: How to parse an array? Arne Vajhøj <arne@vajhoej.dk> - 2017-06-26 20:37 -0400
Re: How to parse an array? lewbloch@gmail.com - 2017-06-27 12:29 -0700
Re: How to parse an array? Eric Douglas <e.d.programmer@gmail.com> - 2017-06-27 12:50 -0700
Re: How to parse an array? Martin Gregorie <martin@address-in-sig.invalid> - 2017-06-27 20:05 +0000
Re: How to parse an array? Eric Douglas <e.d.programmer@gmail.com> - 2017-06-27 14:01 -0700
Re: How to parse an array? Martin Gregorie <martin@address-in-sig.invalid> - 2017-06-27 22:34 +0000
Re: How to parse an array? Eric Douglas <e.d.programmer@gmail.com> - 2017-06-28 05:10 -0700
Re: How to parse an array? Martin Gregorie <martin@address-in-sig.invalid> - 2017-06-28 19:09 +0000
Re: How to parse an array? Eric Douglas <e.d.programmer@gmail.com> - 2017-06-28 13:02 -0700
Re: How to parse an array? Martin Gregorie <martin@address-in-sig.invalid> - 2017-06-28 21:55 +0000
Re: How to parse an array? Eric Douglas <e.d.programmer@gmail.com> - 2017-06-30 06:10 -0700
Re: How to parse an array? Martin Gregorie <martin@address-in-sig.invalid> - 2017-06-30 16:52 +0000
Re: How to parse an array? Jerry Stuckle <jstucklex@attglobal.net> - 2017-06-24 16:34 -0400
Re: How to parse an array? Martin Gregorie <martin@address-in-sig.invalid> - 2017-06-24 22:42 +0000
Re: How to parse an array? Jerry Stuckle <jstucklex@attglobal.net> - 2017-06-24 20:05 -0400
Re: How to parse an array? Robert Klemme <shortcutter@googlemail.com> - 2017-06-25 12:20 +0200
csiph-web