velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barbara Baughman <baugh...@utdallas.edu>
Subject Re: Dereferencing a Reference
Date Thu, 08 Jun 2006 16:20:47 GMT
Cool.  Thanks.

Barbara Baughman
X2157

On Thu, 8 Jun 2006, Keith R. Bennett wrote:

> Barbara -
>
> Jakarta Commons Collections has all kinds of neat classes and utilities
> for this kind of thing.  While unfortunately they don't support
> generics, larvalabs has a product that does.  The URL
> http://collections.sourceforge.net redirects to
> http://larvalabs.com/collections/.  The download page is at
> http://sourceforge.net/project/showfiles.php?group_id=139125.  However,
> the most recent version is 4.0 Beta 3 dated July 7, 2005.
>
> The link to their javadoc is
> http://mail-archives.apache.org/mod_mbox/jakarta-velocity-user/, and you
> can find the class "UnmodifiableMap".
>
> Regards,
> Keith
>
> Barbara Baughman wrote:
>
> >BTW, I never pass a HashMap to the context.  I have created a class
> >called SecureHashMap that looks exactly like HashMap but overrides all
> >methods that would change the content so they do nothing.  So in
> >actual practice, my last line would read:
> >ctx.put("map",new SecureHashMap<String, String>(hm));
> >
> >Barbara Baughman
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
>

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


Mime
View raw message