code: public Map<String, Integer> toMap(){
  		Map<String, Integer> ret = new HashMap<>();
  		ret.put("major", this.major);
  		ret.put("minor", this.minor);
  		ret.put("patch", this.patch);
  		return ret;
  	}
docs: Returns the string as a map using the key "major" for the major part, the key "minor" for the minor part and the key "patch" for the patch part.
  @return map representation of the string