public Map<SkbShellArgument, Object> getArgMap(SkbShellArgument[] arguments){
		Map<SkbShellArgument, Object> ret = new LinkedHashMap<SkbShellArgument, Object>();
		if(arguments!=null){
			for(Entry<String, String> entry : this.getArgMap().entrySet()){
				for(SkbShellArgument ssa : arguments){
					if(ssa.getKey().equals(entry.getKey())){
						switch(ssa.getType()){
							case Boolean:
								ret.put(ssa, Boolean.valueOf(entry.getValue()));
								break;
							case Double:
								ret.put(ssa, Double.valueOf(entry.getValue()));
								break;
							case Integer:
								ret.put(ssa, Integer.valueOf(entry.getValue()));
								break;
							case String:
								ret.put(ssa, entry.getValue());
								break;
							case ListString:
								String[] ar = StringUtils.split(entry.getValue(), ';');
								if(ar!=null){
									List<String> val = new ArrayList<>();
									for(String s : ar){
										val.add(s);
									}
									ret.put(ssa, val);
								}
								break;
							case ListInteger:
								String[] arInt = StringUtils.split(entry.getValue(), ';');
								if(arInt!=null){
									List<Integer> valInt = new ArrayList<>();
									for(String s : arInt){
										valInt.add(Integer.valueOf(s));
									}
									ret.put(ssa, valInt);
								}
								break;
							default:
								System.err.println("parser.getArgMap --> argument type not yet supported: " + ssa.getType());//TODO do not use syserr prints
								break;
						}
					}
				}
			}
		}
		return ret;
	}
public Map<SkbShellArgument, Object> getArgMap(SkbShellArgument[] arguments){
		Map<SkbShellArgument, Object> ret = new LinkedHashMap<SkbShellArgument, Object>();
		if(arguments!=null){
			for(Entry<String, String> entry : this.getArgMap().entrySet()){
				for(SkbShellArgument ssa : arguments){
					if(ssa.getKey().equals(entry.getKey())){
						switch(ssa.getType()){
							case Boolean:
								ret.put(ssa, Boolean.valueOf(entry.getValue()));
								break;
							case Double:
								ret.put(ssa, Double.valueOf(entry.getValue()));
								break;
							case Integer:
								ret.put(ssa, Integer.valueOf(entry.getValue()));
								break;
							case String:
								ret.put(ssa, entry.getValue());
								break;
							case ListString:
								String[] ar = StringUtils.split(entry.getValue(), ';');
								if(ar!=null){
									List<String> val = new ArrayList<>();
									for(String s : ar){
										val.add(s);
									}
									ret.put(ssa, val);
								}
								break;
							case ListInteger:
								String[] arInt = StringUtils.split(entry.getValue(), ';');
								if(arInt!=null){
									List<Integer> valInt = new ArrayList<>();
									for(String s : arInt){
										valInt.add(Integer.valueOf(s));
									}
									ret.put(ssa, valInt);
								}
								break;
							default:
								System.err.println("parser.getArgMap --> argument type not yet supported: " + ssa.getType())
								break;
						}
					}
				}
			}
		}
		return ret;
	}
public map<skbshellargument, object> getargmap(skbshellargument[] arguments){ map<skbshellargument, object> ret = new linkedhashmap<skbshellargument, object>(); if(arguments!=null){ for(entry<string, string> entry : this.getargmap().entryset()){ for(skbshellargument ssa : arguments){ if(ssa.getkey().equals(entry.getkey())){ switch(ssa.gettype()){ case boolean: ret.put(ssa, boolean.valueof(entry.getvalue())); break; case double: ret.put(ssa, double.valueof(entry.getvalue())); break; case integer: ret.put(ssa, integer.valueof(entry.getvalue())); break; case string: ret.put(ssa, entry.getvalue()); break; case liststring: string[] ar = stringutils.split(entry.getvalue(), ';'); if(ar!=null){ list<string> val = new arraylist<>(); for(string s : ar){ val.add(s); } ret.put(ssa, val); } break; case listinteger: string[] arint = stringutils.split(entry.getvalue(), ';'); if(arint!=null){ list<integer> valint = new arraylist<>(); for(string s : arint){ valint.add(integer.valueof(s)); } ret.put(ssa, valint); } break; default: system.err.println("parser.getargmap --> argument type not yet supported: " + ssa.gettype()) break; } } } } } return ret; }