Archive for November 2008
Looking for Zam3D
26 November 2008 in Random tidbits | Comments (0)
I’m looking for the trial of Zam3D. Its a great application, that for reasons I don’t know, isn’t available as Trial anymore.
If you know where I can find, please tell me. Or just send over the installer if you have it.
Thanks.
Two way HashMap in Java
17 November 2008 in Random tidbits | Comments (1)
I recently had a project in hands were there was the need to use a two way hash map in Java, so I just wanted you to know the alternatives I found.
It shouldn’t be a surprise to you, if you sometimes need a different kind of data structure, that Apache Commons provides this in the Collections component. This library is very useful in this matter. In the current version (3.2.1) they implement a BidiMap class that offers bidirectional access to a map, that assures constant access time for both ways (just like we want) while assuring a 1:1 relation between keys and values.
My problem with this library, is the missing generics support. I’m a programmer that loves the type-safety that generics offers in all kinds of data structures, so I kept searching.
Fortunately, there’s a sourceforge project named Collections that provides just this. Its a branch of the original Apache Commons code, but with generics support.
Its precisely what I’ve been looking.
But, because Google gives me more than 1 result, I found out about Google Collections Library. Its built with the same purpose as apache commons (different and advanced data structures) with built-in support for generics.
I end up using the Google lib, just because its getting more “attention”. The Apache Collections isn’t updated for some months.
Search
Pages
Top Posts
- 15 Visual Studio .NET Add-Ins you won't live without
- Using SQLite in .NET
- How to get started with Silverlight Streaming
- Avoid chaos, don't let bugs take your project away
- Best-Ever Ad from Microsoft
Categories
- All
- Random tidbits
- Links
- Windows
- Fun
- Portuguese
- WebDev
- Programming
- Blogging
- Personal Experience
- Microsoft
- Tech
- OS
- Linux
- Security
- TV
- Software
- Databases
- Hardware
- WPF