parameters: (version_string)
docstring: Returns a 2-tuple for the current version of Java installed.
  
    Args:
      version_string: String of the Java version (e.g. '1.7.2-ea').
  
    Returns:
      The major and minor versions, as a 2-tuple (e.g. (1, 7)).
docstring_summary: Returns a 2-tuple for the current version of Java installed.
docstring_tokens: Returns a 2 - tuple for the current version of Java installed .
function: def _ParseJavaVersion(version_string):
    """Returns a 2-tuple for the current version of Java installed.
  
    Args:
      version_string: String of the Java version (e.g. '1.7.2-ea').
  
    Returns:
      The major and minor versions, as a 2-tuple (e.g. (1, 7)).
    """
    match = _VERSION_REGEX.search(version_string)
    if match:
      version = tuple(int(x or 0) for x in match.groups())
      assert len(version) == 2
      return version
function_tokens: def _ParseJavaVersion ( version_string ) : match = _VERSION_REGEX . search ( version_string ) if match : version = tuple ( int ( x or 0 ) for x in match . groups ( ) ) assert len ( version ) == 2 return version