Compound Theory

v2.0

Categories

  1. Transfer
  2. ColdFusion
  3. JRuby
  4. Java
  5. ColdSpring
  6. Squabble
  7. JavaLoader
  8. ColdDoc
  9. 2ddu
  10. AsyncHTTP
  11. OO Analysis and Design
  12. Flex
  13. Railo
  14. XML / XSL
  15. Hibernate
  16. ColdFusion Builder
  17. Fall
  18. Ubuntu
  19. XHTML / CSS
  20. Eclipse
  21. Git
  22. Oracle Database
  23. Usability / UI Design
  24. webDU
  25. cf.Objective()
  26. LWJGL
  27. cf.Objective(ANZ)
  28. Captcha
  29. MAX
  30. Melbourne CFUG
  31. Martial Arts
  32. Random Things
  33. Conduit

Recent Posts

Projects

Recent Comments

07 July 2005 11:10 AM 0 Comments

Coldfusion Bundled with Jakarta Commons Collection

I was requiring a synchronized First in First Out (FIFO) Queue, to store some CFCs for reuse, and I was doing some digging around to see if there was anything already implemented, or if my best bet was to go for just using a synchronized linked list for the Java Collections Framework.

So I did some reasearch, and asked on AJUG, and came across the Jakarta Commons Collection library.

I already knew that ColdFusion had quite a few org.apache libs sitting underneath it (xalan, log4j, axis etc), so I figured I would do some checking and see if the Collections where also there, and strangely enough, they were!

There is a whole lot of very useful collections in here, including Bags, Buffers, MultiMaps, PriorityQueues... all sorts of stuff.

So if you are looking for a collection that you can't seem to find in the regular ol' Java, I suggest checking out the Commons Collection - you should be able to find what you are looking for.