/** * Factory method for the {@link ToShortMachineFormat} {@link Function}. * * @return */ public static Function<Machine, Machine> toShortFormat() { return new ToShortMachineFormat(); }
@Override public String apply(Machine machine) { return new ToShortMachineFormat().apply(machine).toString(); } }