public static List<Double> getWeights(ZParams params) {
		Collection<byte[]> collect = params.getParams();
		Iterator<byte[]> iterator = collect.iterator();
		boolean hasWeights = false;
		while (iterator.hasNext()) {
			String value = new String(iterator.next());
			// System.out.println("value:" + value);
			if ("weights".equals(value)) {
				hasWeights = true;
				break;
			}
		}
		if (!hasWeights) {
			return null;
		}
		List<Double> result = new ArrayList<Double>();
		while (iterator.hasNext()) {
			String weight = new String(iterator.next());
			result.add(Double.parseDouble(weight));
		}
		return result;
	}
public static List < Double > getWeights ( ZParams params ) { Collection < byte [ ] > collect = params . getParams ( ) ; Iterator < byte [ ] > iterator = collect . iterator ( ) ; boolean hasWeights = false ; while ( iterator . hasNext ( ) ) { String value = new String ( iterator . next ( ) ) ; if ( "weights" . equals ( value ) ) { hasWeights = true ; break ; } } if ( ! hasWeights ) { return null ; } List < Double > result = new ArrayList < Double > ( ) ; while ( iterator . hasNext ( ) ) { String weight = new String ( iterator . next ( ) ) ; result . add ( Double . parseDouble ( weight ) ) ; } return result ; }
返回WEIGHTS参数列表.

@param params 参数
@return