Minimum Double Java