Java Methods for Financial Engineering - Applications in