code: public static <D> Predicate eqConst(Expression<D> left, D constant) {
          return eq(left, ConstantImpl.create(constant));
      }
docs: Create a {@code left == constant} expression
  
  @param <D> type of expressions
  @param left lhs of expression
  @param constant rhs of expression
  @return left == constant