Examples of transfer()


Examples of ar.Renderer.transfer()

    for (int seams=0; seams<viewBounds.width; seams+=step) {
      System.out.println("Starting removing " + seams + " seams");

      //Transfer.Specialized<Pair<String,Integer>, Pair<String,Integer>> carver = new SeamCarving.CarveIncremental<>(new DeltaPair(), Direction.V, EMPTY, seams);
      Transfer.Specialized<Pair<String,Integer>, Pair<String,Integer>> carver = new SeamCarving.CarveSweep<>(new DeltaPair(), Direction.V, EMPTY, seams);
      Aggregates<Pair<String,Integer>> carved = renderer.transfer(pairs, carver);
      //carved = renderer.transfer(carved, new Borders(EMPTY));
     
      CompositeWrapper<String,Integer, ?> composite = CompositeWrapper.convert(carved, "", 0);
     
      Aggregates<Integer> carvedPop = composite.right();
View Full Code Here

Examples of ar.renderers.ParallelRenderer.transfer()

    for (int seams=0; seams<viewBounds.width; seams+=step) {
      System.out.println("Starting removing " + seams + " seams");

      //Transfer.Specialized<Pair<String,Integer>, Pair<String,Integer>> carver = new SeamCarving.CarveIncremental<>(new DeltaPair(), Direction.V, EMPTY, seams);
      Transfer.Specialized<Pair<String,Integer>, Pair<String,Integer>> carver = new SeamCarving.CarveSweep<>(new DeltaPair(), Direction.V, EMPTY, seams);
      Aggregates<Pair<String,Integer>> carved = renderer.transfer(pairs, carver);
      //carved = renderer.transfer(carved, new Borders(EMPTY));
     
      CompositeWrapper<String,Integer, ?> composite = CompositeWrapper.convert(carved, "", 0);
     
      Aggregates<Integer> carvedPop = composite.right();
View Full Code Here

Examples of com.bank.service.TransferService.transfer()

        Double.valueOf(props.getProperty("minimum.transfer.amount")));

    // generate a random amount between 10.00 and 90.00 dollars
    double amount = (new Random().nextInt(8) + 1) * 10;

    TransferReceipt reciept = transferService.transfer(amount, "A123", "C456");

    System.out.println(reciept);
  }

}
View Full Code Here

Examples of com.bank.service.internal.DefaultTransferService.transfer()

        Double.valueOf(props.getProperty("minimum.transfer.amount")));

    // generate a random amount between 10.00 and 90.00 dollars
    double amount = (new Random().nextInt(8) + 1) * 10;

    TransferReceipt reciept = transferService.transfer(amount, "A123", "C456");

    System.out.println(reciept);
  }

}
View Full Code Here

Examples of com.founder.fix.fixflow.core.ManagementService.transfer()

    String transferUserId = StringUtil.getString(filter.get("transferUserId"));
    String taskId = StringUtil.getString(filter.get("taskId"));
   
    ManagementService mservice = engine.getManagementService();
    try{
      mservice.transfer(taskId, transferUserId,"管理员干预", null);
    }finally{
      closeProcessEngine();
    }
  }
 
View Full Code Here

Examples of com.google.opengse.iobuffer.IOBuffer.transfer()

            newIOBuffer.writeBytes("Content-Range: ".getBytes());
            newIOBuffer.writeBytes(("bytes " + p.getStart() + "-" + p.getEnd()
                + "/" + rangeContentLength).getBytes());
            newIOBuffer.writeBytes("\r\n\r\n".getBytes());
          }
          newIOBuffer.transfer(iobuffer, transfer);
          rangeCurrentPos += transfer;
          len -= transfer;
        }
        // Advance to the next range if we completed the current one.
        if (rangeCurrentPos == (p.getEnd() + 1)) {
View Full Code Here

Examples of com.google.opengse.iobuffer.IOBuffer.transfer()

      if (len > 0) {
        String stringLength = Integer.toHexString(len).toUpperCase();

        tmpBuffer.writeBytes(stringLength.getBytes());
        tmpBuffer.writeBytes("\r\n".getBytes());
        tmpBuffer.transfer(iobuffer, len);
        tmpBuffer.writeBytes("\r\n".getBytes());

        // should have transferred all available bytes
        if (iobuffer.availableBytes() != 0) {
          throw new IllegalStateException();
View Full Code Here

Examples of com.sun.mpk20.voicelib.app.Call.transfer()

            CallParticipant cp = call.getSetup().cp;

            if (msg.getCancel() == true) {
                try {
                    call.transfer(cp, true);
                } catch (IOException e) {
                    logger.warning("Unable to cancel call transfer:  " + e.getMessage());
                }
                return;
            }
View Full Code Here

Examples of com.sun.mpk20.voicelib.app.Call.transfer()

            cp.setPhoneNumber(msg.getPhoneNumber());

            setJoinConfirmation(cp);

            try {
                call.transfer(cp, false);
            } catch (IOException e) {
                logger.warning("Unable to transfer call:  " + e.getMessage());
            }
            return;
        }
View Full Code Here

Examples of edu.cmu.cs.crystal.tac.model.TACInstruction.transfer()

        return value;
      for(int i = instructions.length - 1; i >= 0; i--) {
        TACInstruction instr = instructions[i];
        if(afterResult && instr == targetInstr)
          return value;
        value = instr.transfer(tf, value);
        if(!afterResult && instr == targetInstr)
          return value;
      }
      if(!afterResult && targetInstr == this)
        return value;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.