Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #34281
| From | Eric Sosman <esosman@comcast-dot-net.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Working with an array of TreeSet |
| Date | 2016-05-10 20:14 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <ngttab$rer$1@dont-email.me> (permalink) |
| References | <87lh3ijg9u.fsf@Equus.decebal.nl> <ngt1mp$a3t$1@gwaiyur.mb-net.net> <87a8jxk3r2.fsf@Equus.decebal.nl> |
On 5/10/2016 5:22 PM, Cecil Westerhof wrote:
> On Tuesday 10 May 2016 18:19 CEST, Marcel Mueller wrote:
> [...]
>> The more interesting question is why you need an array of TreeSet.
>> What is the semantic meaning of from? And what is the meaning of to?
>
> I am mapping the connections of paths between nodes in a graph. From a
> node to a node.
Perhaps a
Map<Node,Set<Node>>
or (if there can be more than one Edge from Node X to Node Y)
Map<Node,Collection<Node>>
might be a more direct representation?
--
esosman@comcast-dot-net.invalid
"Don't be afraid of work. Make work afraid of you." -- TLM
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Working with an array of TreeSet Cecil Westerhof <Cecil@decebal.nl> - 2016-05-10 13:37 +0200
Re: Working with an array of TreeSet Eric Douglas <e.d.programmer@gmail.com> - 2016-05-10 04:52 -0700
Re: Working with an array of TreeSet Cecil Westerhof <Cecil@decebal.nl> - 2016-05-10 15:07 +0200
Re: Working with an array of TreeSet Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-05-10 08:03 -0400
Re: Working with an array of TreeSet Marcel Mueller <news.5.maazl@spamgourmet.org> - 2016-05-10 18:19 +0200
Re: Working with an array of TreeSet Cecil Westerhof <Cecil@decebal.nl> - 2016-05-10 23:22 +0200
Re: Working with an array of TreeSet Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-05-10 20:14 -0400
Re: Working with an array of TreeSet Cecil Westerhof <Cecil@decebal.nl> - 2016-05-11 09:05 +0200
Re: Working with an array of TreeSet FredK <fred.l.kleinschmidt@gmail.com> - 2016-05-11 14:33 -0700
Re: Working with an array of TreeSet Lew <lewbloch@gmail.com> - 2016-05-11 14:45 -0700
csiph-web