Hey guys,
A while back I created a package called
collections, after much deliberation and looking through existing collections packages.
The closest package to mine is probably icecave/collections, which was inspired by C# and C++. Unfortunately, it was last updated two years ago.
My collections framework was almost entirely modeled after the Java Collections Framework, with a few additions (like tuple and tree), and a bit better organized than icecave.
As a side effect of being primarily modeled from the JCF, the api takes into account certain efficiency operations which are nonsensical using standard PHP arrays (like "offer"). However, those efficiencies allow for broad compatibility if the underlying structures were written in c and simply bound to PHP.
I think it would make an excellent addition to the league.
I would appreciate any feedback you have about improvements for the package.
Thanks,
John Mark