commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robert burrell donkin <robertburrelldon...@blueyonder.co.uk>
Subject Re: [Betwixt] Maps
Date Fri, 11 Apr 2003 21:39:58 GMT
i've now committed code that should allow maps to be read (as well as 
written). i've also added some documentation about this which you can find 
at http;//jakarta.apache.org/commons/betwixt/overview.html.

- robert

On Wednesday, April 2, 2003, at 04:57 AM, Kevin O'Neill wrote:

> What method signatures are required to make Maps work?
>
> I have:
>
> public Map getPairs()
> {
> 	return _beanPairs;
> }
>
> public void setPairs(Map pairMap)
> {
> 	_beanPairs = pairMap;
> }
>
> public void addPair(String key, SimpleBean bean)
> {
> 	_beanPairs.put(key, bean);
> }
>
> The map gets written, but never read. I've tried a few different
> approaches with no success.
>
> Any help would be great.
>
> -k.
>
> --
> If you don't test then your code is only a collection of bugs which
> apparently behave like a working program.
>
> Website: http://www.rocketred.com.au/blogs/kevin/
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>


Mime
View raw message