public boolean hasNextDouble()
      {
         if(hasNext())
            try
            {
               Double.parseDouble(token);
               return true;
            }
               catch(Exception e)
               {
                  return false;
               }
         else
            return false;
      }