commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: [collections] Composable Map?
Date Wed, 12 Aug 2009 14:26:56 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ralph,

On 8/12/2009 2:43 AM, Ralph Goers wrote:
> Is there something wrong with using java.util.Properties? Just do
> 
> Properties defaults = new Properties();
> .
> .
> Properties map = new Properties(defaults);

This is definitely possible, but Properties is Hashtable-based so it
includes synchronization (which I don't need) and requires the use of
String values, which I don't always want.

Any other suggestions?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqC0TAACgkQ9CaO5/Lv0PDlRQCeOj9fwrG2UJcPKBJtY+tvwzoA
R8cAn0NeQgIaIMU1EJBttJvsQ8vd3gMl
=GK3q
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message