Mango is a Java library consisting of a number of iterators, algorithms and functions, loosely inspired by the C++ Standard Template Library.

Slides from two talks describing some of the ideas behind Mango are

Mango is distributed under the terms of the Lesser GPL and is available for download in source and binary distributions.

Latest News

[RSS 0.91]
Thursday 05 November, 2009
#Mango Release, now with added Generics

Over the past three or four weeks I've restarted work on Mango, dragging it into the modern age by throwing out the deprecated bits, making one or two little nips and tucks, and by generifying (if that's a real word) the library. So, I've cut a new release.

The binaries are compiled with Java 6. The code builds fine with Java 5 though, so if you're using that just grab the source. The source bundle includes a javadoc build target, and the current Javadoc is available online, but you can grab the Javadoc seperately too. It's not overflowing with words, if I'm honest, because the concepts Mango uses are pretty straightforward, but hopefully the Javadoc's not without its uses.

The Mango code is now lives in a Bazaar repository. You can pull the code from :

    bzr branch http://jezuk.dnsalias.net/bzr/mango/trunk

The previous non-generic release, built with Java 1.4, is still available.


[Add a comment]

Monday 20 August, 2007
#The LGPL and Java - ... the LGPL works as intended with all known programming languages, including Java ...
Describes exactly why Mango is released under the LGPL.

[Add a comment]

Friday 17 August, 2007
#New Mango Release

Uploaded a new Mango release.

It adds a couple of new iterators. The Javadocs are up-to-date, but the web pages are lagging a little.


[Add a comment]

Wednesday 15 August, 2007
#Makeover
Prettied up the Mango website, including adding a logo designed by Murray Altheim. He originally mailed it to me back in April 2004 while he was just wasting time not writing a paper. It's obviously taken some time to work its way out of my inbox and on to the web, but I'm very pleased to finally get it up here. And chuffed too, that someone would take the time. Belated thanks Murray!
[Add a comment]

Friday 16 March, 2007
#ReverseIterator

I'm in the middle of writing a conference presentation which talks about some of what Mango does, I'm struggling for an example, and bam! There it is, what I need is an iterator that traverses a list in reverse order. So I wrote a test, wrote an iterator, then wrote it again in under five minutes. It's in subversion now.

You can pull the Mango code from

  svn co svn://jezuk.dnsalias.net/jezuk/mango/trunk

hello from google...
google [e] [w], 19th Mar 2007

[Add a comment]

[Older news ...]

Get in touch

Your questions, requests, updates and patches are all welcome. I can be contacted at jez@jezuk.co.uk.


Jez Higgins