Exemplo n.º 1
0
Arquivo: Cmd.java Projeto: Rojoss/Boxx
 /**
  * Get the map with all the registered arguments.
  *
  * @return Map with registered arguments.
  */
 public LinkedHashMap<String, Argument> getArguments() {
   LinkedHashMap<String, Argument> clone = new LinkedHashMap<>();
   for (Map.Entry<String, Argument> entry : arguments.entrySet()) {
     clone.put(entry.getKey(), entry.getValue().clone());
   }
   return clone;
 }