code: public Object convertResult(final Class<?> type) {
  		try {
  			if (type.isArray()) {
  				return TYPE_MAP.get("array").invoke(this);
  			}
  			if (!TYPE_MAP.containsKey(type)) {
  				return getNext(result);
  			}
  			return TYPE_MAP.get(type).invoke(this);
  		} catch (final Exception e) {
  			e.printStackTrace();
  			return null;
  		}
  	}
docs: Called to convert result from ArangoCursor to given type, by invoking the appropriate converter method
  
  @param type
  @return result in desired type