static ReaderResult of(final Reader<?> reader) {
		return reader.type() == Type.LIST
			? new ListResult(reader)
			: new ValueResult(reader);
	}
Create a reader result for the given XML reader

@param reader the XML reader
@return a reader result for the given reader
jenetics.xml/src/main/java/io/jenetics/xml/stream/Reader.java