public Result<Object[]> evaluate(Class<?>... concepts) throws QueryEvaluationException {
  TupleQueryResult tuple=query.evaluate();
  List<String> bindings=tuple.getBindingNames();
  bindings=bindings.subList(0,concepts.length);
  return new ResultImpl(new ObjectArrayCursor(manager,tuple,bindings));
}

public Result < Object [ ] > evaluate ( Class < ? > ... concepts ) throws QueryEvaluationException { TupleQueryResult tuple = query . evaluate ( ) ; List < String > bindings = tuple . getBindingNames ( ) ; bindings = bindings . subList ( 0 , concepts . length ) ; return new ResultImpl ( new ObjectArrayCursor ( manager , tuple , bindings ) ) ; }
evaluates the query returning a result of object [ ] .
