コード例 #1
0
 @Override
 public int hashCode() {
   int h = 31;
   h = h * 17 + function.hashCode();
   h = h * 17 + args.hashCode();
   return h;
 }
コード例 #2
0
 @Override
 public String toString() {
   return function.getName()
       + "("
       + Joiner.on(", ").join(Iterables.transform(args, Functions.toStringFunction()))
       + ")";
 }
コード例 #3
0
 private boolean equalTo(FunctionExpression other) {
   return function.getClass().equals(other.function.getClass()) && args.equals(other.args);
 }
コード例 #4
0
 @Override
 public Set<QueryTarget> eval(QueryEnvironment env, ListeningExecutorService executor)
     throws QueryException, InterruptedException {
   return function.eval(env, args, executor);
 }