/** * Returns a CellRangeAddress instance representing the specified String * value * * @param stringValue * a String value * @return return a CellRangeAddress instance representing stringValue * @throws IllegalArgumentException if the given argument is not a valid CellRangeAddress */ public static CellRangeAddress valueOf(String stringValue) throws IllegalArgumentException { return new CellRangeAddress(stringValue); }
/** * Returns a CellRangeAddress instance representing the specified String * value * * @param stringValue * a String value * @return return a CellRangeAddress instance representing stringValue * @throws IllegalArgumentException if the given argument is not a valid CellRangeAddress */ public static CellRangeAddress valueOf(String stringValue) throws IllegalArgumentException { return new CellRangeAddress(stringValue); }
/** * Returns a CellRangeAddress instance representing the specified String * value * * @param stringValue * a String value * @return return a CellRangeAddress instance representing stringValue * @throws IllegalArgumentException if the given argument is not a valid CellRangeAddress */ public static CellRangeAddress valueOf(String stringValue) throws IllegalArgumentException { return new CellRangeAddress(stringValue); }
/** * Returns a list of CellRangeAddress from the CellRangeAddressList Object * @return a list of CellRangeAddress */ public List<CellRangeAddress> getCellRangesAddressList() { List<CellRangeAddress> aRet = new ArrayList<CellRangeAddress>(); String[] names = mCellRangeAddressList.split(" "); for (int i = 0; i < names.length; i++) { aRet.add(new CellRangeAddress(names[i])); } return aRet; }
/** * Returns a list of CellRangeAddress from the CellRangeAddressList Object * @return a list of CellRangeAddress */ public List<CellRangeAddress> getCellRangesAddressList() { List<CellRangeAddress> aRet = new ArrayList<CellRangeAddress>(); String[] names = mCellRangeAddressList.split(" "); for (int i = 0; i < names.length; i++) { aRet.add(new CellRangeAddress(names[i])); } return aRet; }
/** * Returns a list of CellRangeAddress from the CellRangeAddressList Object * @return a list of CellRangeAddress */ public List<CellRangeAddress> getCellRangesAddressList() { List<CellRangeAddress> aRet = new ArrayList<CellRangeAddress>(); String[] names = mCellRangeAddressList.split(" "); for (int i = 0; i < names.length; i++) { aRet.add(new CellRangeAddress(names[i])); } return aRet; }
/** * Returns a CellRangeAddressList instance representing the specified String value * * @param stringValue a String value * @return return a CellRangeAddressList instance representing stringValue * @throws IllegalArgumentException if the given argument is not a valid CellRangeAddressList */ public static CellRangeAddressList valueOf(String stringValue) throws IllegalArgumentException { if (stringValue == null) { throw new IllegalArgumentException("parameter is invalid for datatype CellRangeAddressList"); } List<CellRangeAddress> aRet = new ArrayList<CellRangeAddress>(); String[] names = stringValue.split(" "); for (int i = 0; i < names.length; i++) { aRet.add(new CellRangeAddress(names[i])); } return new CellRangeAddressList(aRet); }
/** * Returns a CellRangeAddressList instance representing the specified String value * * @param stringValue a String value * @return return a CellRangeAddressList instance representing stringValue * @throws IllegalArgumentException if the given argument is not a valid CellRangeAddressList */ public static CellRangeAddressList valueOf(String stringValue) throws IllegalArgumentException { if (stringValue == null) { throw new IllegalArgumentException("parameter is invalid for datatype CellRangeAddressList"); } List<CellRangeAddress> aRet = new ArrayList<CellRangeAddress>(); String[] names = stringValue.split(" "); for (int i = 0; i < names.length; i++) { aRet.add(new CellRangeAddress(names[i])); } return new CellRangeAddressList(aRet); }
/** * Returns a CellRangeAddressList instance representing the specified String value * * @param stringValue a String value * @return return a CellRangeAddressList instance representing stringValue * @throws IllegalArgumentException if the given argument is not a valid CellRangeAddressList */ public static CellRangeAddressList valueOf(String stringValue) throws IllegalArgumentException { if (stringValue == null) { throw new IllegalArgumentException("parameter is invalid for datatype CellRangeAddressList"); } List<CellRangeAddress> aRet = new ArrayList<CellRangeAddress>(); String[] names = stringValue.split(" "); for (int i = 0; i < names.length; i++) { aRet.add(new CellRangeAddress(names[i])); } return new CellRangeAddressList(aRet); }