public static List<State> parseState(final List<String> labels, final List<List<Object>> values) {
		final Map<ExpectedLabels, Integer> map = mapLabels(labels);

		final List<State> states = new ArrayList<>(values.size());

		for (final List<Object> state : values) {
			states.add(extractValues(state, map));
		}

		return states;
	}
public static List < State > parseState ( final List < String > labels , final List < List < Object > > values ) { final Map < ExpectedLabels , Integer > map = mapLabels ( labels ) ; final List < State > states = new ArrayList < > ( values . size ( ) ) ; for ( final List < Object > state : values ) { states . add ( extractValues ( state , map ) ) ; } return states ; }
@param labels
the list of labels returned by the query
@param values
the list of lists of values to map to those labels
@return the decoded states