The collections package has some classes in it that provide a very powerful way of storing, retrieving, selecting, sorting and manipulating data. It features well known datastructures like lists (both the double linked list version and the array list version, very useful for storing lists of like object instances, which is useful in almost every application you encounter), queues (very useful for getting things done in a specified order, first in first out or FIFO), stacks , deques ( double ended queue, can function as a stack and a queue), heaps, priorityqueue, set, resultset (very useful when using flash remoting and a database) and trees (for menus, games, searching etc., both binary and n-ary trees). It is a very comprehensive library, influenced by the Java collections package, with a clear interface, easy to use and very consistent throughout the different classes. Know one of them, know ‘em all.
Continue reading ‘The collections package’
Recent Posts
Tags
adobe user group amfphp as3 asunit asynchronous bulk loading collections Command danny patterson design patterns dpdk drupal flash flash media server flash remoting fms folding framelabel hook interfaces iterators list lists loader log logevent logging mapping measuring movieclip multiuser open source patterns queue red5 refactoring remoting resultset specification specifications statistics timeline tracking weborb xunitCategories
- actionscript3 (6)
- air (1)
- asunit (3)
- bugs (2)
- cms (2)
- cs4 (1)
- datastructures (3)
- design (1)
- desing patterns (7)
- dpdk (19)
- flash (7)
- fms (3)
- opensource (5)
- php (1)
- red5 (1)
- xunit (1)