<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: ugly, but how do I do this?</title>
		<atom:link href="http://cycling74.com/forums/topic/ugly-but-how-do-i-do-this/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/ugly-but-how-do-i-do-this/feed</link>
		<description></description>
		<pubDate>Thu, 20 Jun 2013 01:14:50 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/ugly-but-how-do-i-do-this/#post-28218</guid>
					<title><![CDATA[ugly, but how do I do this?]]></title>
					<link>http://cycling74.com/forums/topic/ugly-but-how-do-i-do-this/#post-28218</link>
					<pubDate>Tue, 17 Oct 2006 19:30:52 +0000</pubDate>
					<dc:creator>jbm</dc:creator>

					<description>
						<![CDATA[
						<p>I have an Atom[] in a TreeMap, which is also in a TreeMap!! I told you it was ugly&#8230;</p>
<p>Is there a one-liner to change a single value at an index in the Atom[]?</p>
<p>I understand that:</p>
<p>map1.get(key1).get(key2) </p>
<p>can pull out my Atom[], but can I get the Atom at a given index as well? I tried:</p>
<p>map1.get(key1).get(key2)[1] = something-that&#8217;s-an-Atom;</p>
<p>But that didn&#8217;t work&#8230; it&#8217;s getting an object when it wants an array. I understand it needs to be cast somewhere, but where?</p>
<p>J.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/ugly-but-how-do-i-do-this/#post-86401</guid>
					<title><![CDATA[Re: ugly, but how do I do this?]]></title>
					<link>http://cycling74.com/forums/topic/ugly-but-how-do-i-do-this/#post-86401</link>
					<pubDate>Tue, 17 Oct 2006 20:17:42 +0000</pubDate>
					<dc:creator>projects</dc:creator>

					<description>
						<![CDATA[
						<p>> map1.get(key1).get(key2)[1] = something-that&#8217;s-an-Atom;<br />
><br />
> But that didn&#8217;t work&#8230; it&#8217;s getting an object when it wants an array. I understand it needs to be cast somewhere, but where?</p>
<p>
try</p>
<p>((Atom [])(map1.get(key1).get(key2)))[1]</p>
<p>Ben</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/ugly-but-how-do-i-do-this/#post-86402</guid>
					<title><![CDATA[Re: ugly, but how do I do this?]]></title>
					<link>http://cycling74.com/forums/topic/ugly-but-how-do-i-do-this/#post-86402</link>
					<pubDate>Tue, 17 Oct 2006 21:51:56 +0000</pubDate>
					<dc:creator>jbm</dc:creator>

					<description>
						<![CDATA[
						<p>geez&#8230; I don&#8217;t know how long it would have taken me to figure that out, but you know what happens when you put a monkey at a macbook&#8230; </p>
<p>thanks, Ben.</p>
<p>J.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

