/** * Parses an encoded size spec and initializes the size fields. * * @param token * a token that represents a size, either bounded or plain */ private void parseAndInitSize(String token) { if (token.startsWith("max(") && token.endsWith(")")) { size = parseAndInitBoundedSize(token, false); return; } if (token.startsWith("min(") && token.endsWith(")")) { size = parseAndInitBoundedSize(token, true); return; } size = decodeAtomicSize(token); }