A generic vp-tree implementation in Java