I Know there\'s a \"Vector\" class in java, but it seems to be just a simpler ArrayList type of deal, not an actual, mathematical Vector (as in a magnitude and a direction).
I know this is old but maybe someone will find this useful:
There is also Apache Commons Math which has a Vector2D class.