Package bean

Examples of bean.Point


    int i, j;
    for (i = rowBegin; i < rowEnd; i++) {
      for (j = colBegin; j < colEnd; j++) {
        Cell c = rs.getCell(j, i);
        String s = c.getContents();
        result.put(new Point(j, i), s);
      }
    }
    return result;
  }
View Full Code Here


   * @param row
   * @return
   */
  public HisTrans getRow(Map<Point, String> result, int row) {
    HisTrans trans = new HisTrans();
    trans.setSettle_date(result.get(new Point(settle_date, row)));
    trans.setPan(result.get(new Point(pan, row)).replaceAll("-", ""));
    trans.setAcc_type(0f);
    trans.setTxn_name("����");
    trans.setTxn_amt(Float.valueOf(result.get(new Point(txn_amt, row)).replaceAll(",", "")));
    trans.setFee_amt(Float.valueOf(result.get(new Point(fee_amt, row)).replaceAll(",", "")));
    trans.setCname("˳�����ˣ����ݣ����޹�˾");
    trans.setTid(result.get(new Point(tid, row)));
    trans.setSp_mid("104481442150002");
    trans.setSp_tid(result.get(new Point(sp_tid, row)));
    trans.setTrace1("0");
    trans.setRrn(result.get(new Point(rrn, row)));
    trans.setTxn_date(result.get(new Point(txn_date, row)).replaceAll("/", ""));
    trans.setArea("����");
    return trans;
  }
View Full Code Here

    WritableSheet ws = wwb.createSheet("fuck sf", 0);
    int x, y;// д����У�������
    int i, j;
    for (i = rowBegin, x = 0; i < rowEnd; i++, x++) {
      for (j = colBegin, y = 0; j < colEnd; j++, y++) {
        String content = toWrite.get(new Point(j, i));
        if (!isInteger(content) && j == 0) {
          x--;
          break;
        }
        jxl.write.Label labelC = new jxl.write.Label(y, x, content);
View Full Code Here

TOP

Related Classes of bean.Point

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.