MemConfValue { public static MemConfValue parseMaxXms(final Props props) { return parse(props, Constants.JobProperties.JOB_MAX_XMS, Constants.JobProperties.MAX_XMS_DEFAULT); } private  MemConfValue(final String string, final long size); static MemConfValue parseMaxXms(final Props props); static MemConfValue parseMaxXmx(final Props props); String getString(); long getSize();  }
@Test public void parseMaxXms() { assertXms(Props.of(Constants.JobProperties.JOB_MAX_XMS, "1K"), "1K", 1L); }