Examples of clone()


Examples of cl.alejo.jcsim.csim.gates.ParamClk.clone()

    // ********************************************************************************
    // El reloj
    // ********************************************************************************
    ParamClk paramClk = new ParamClk(300, 300);
    GateDescriptor descClk = new ClkDescriptor((ParamClk) paramClk.clone());
    Gate clk = new Clk(circuit, descClk, paramClk);
    IconGate iconClk = new IconGate(clk);
    circuit.addIconGate(iconClk, 100, 50);

    // El switch
View Full Code Here

Examples of cl.alejo.jcsim.csim.gates.ParamFFData.clone()

    // Llenamos los descriptores

    descNot = new NotDescriptor((ParamNot) paramNot.clone());
    descTreeState = new TreeStateDescriptor((ParamTreeState) paramTreeState.clone());
    descFFData = new FFDataDescriptor((ParamFFData) paramFFData.clone());
    descDiagram = new TimeDiagramDescriptor();
    descTemplate = new TemplateGateDescriptor();
    descLabel = new LabelDescriptor(paramLabel);

    // Asociativas
View Full Code Here

Examples of cl.alejo.jcsim.csim.gates.ParamNot.clone()

    ParamLabel paramLabel = new ParamLabel();
    ParamSegmentDisplay paramDisp = new ParamSegmentDisplay(0);

    // Llenamos los descriptores

    descNot = new NotDescriptor((ParamNot) paramNot.clone());
    descTreeState = new TreeStateDescriptor((ParamTreeState) paramTreeState.clone());
    descFFData = new FFDataDescriptor((ParamFFData) paramFFData.clone());
    descDiagram = new TimeDiagramDescriptor();
    descTemplate = new TemplateGateDescriptor();
    descLabel = new LabelDescriptor(paramLabel);
View Full Code Here

Examples of cl.alejo.jcsim.csim.gates.ParamSegmentDisplay.clone()

    Gate flag = new Flag(circuit, descFlag, new ParamVoid());
    IconGate iconFlag = new IconGate(flag);
    circuit.addIconGate(iconFlag, 200, 50); // Superfluo

    // El lector de 7 segmentos
    GateDescriptor descDisp = new SegmentDisplayDescriptor((ParamSegmentDisplay) paramDisp.clone());
    Gate disp = new SegmentDisplay(circuit, descDisp, paramDisp);
    IconGate iconDisp = new IconGate(disp);
    circuit.addIconGate(iconDisp, 250, 50); // Superfluo */

    // Agrego el label
View Full Code Here

Examples of cl.alejo.jcsim.csim.gates.ParamSwitch.clone()

    Gate clk = new Clk(circuit, descClk, paramClk);
    IconGate iconClk = new IconGate(clk);
    circuit.addIconGate(iconClk, 100, 50);

    // El switch
    GateDescriptor descSwitch = new SwitchDescriptor((ParamSwitch) paramSwitch.clone());
    Gate switch1 = new Switch(circuit, descSwitch, paramSwitch);
    IconGate iconSwitch = new IconGate(switch1);
    circuit.addIconGate(iconSwitch, 300, 50);

    // Una banderita
View Full Code Here

Examples of cl.alejo.jcsim.csim.gates.ParamTreeState.clone()

    ParamSegmentDisplay paramDisp = new ParamSegmentDisplay(0);

    // Llenamos los descriptores

    descNot = new NotDescriptor((ParamNot) paramNot.clone());
    descTreeState = new TreeStateDescriptor((ParamTreeState) paramTreeState.clone());
    descFFData = new FFDataDescriptor((ParamFFData) paramFFData.clone());
    descDiagram = new TimeDiagramDescriptor();
    descTemplate = new TemplateGateDescriptor();
    descLabel = new LabelDescriptor(paramLabel);
View Full Code Here

Examples of cn.com.hotmaze.util.RoomMap.clone()

 
  public RoomMap createMapById(String map_id){
    RoomMap map = ((Map<String, RoomMap>) MapContext.map).get(map_id);
    System.out.println("can't find map "+map_id);
    assert(map != null);
    return map.clone();
  }
 
  public void reloadAllMap(){
    Iterator<String>  itr = MapContext.map.keySet().iterator();
    while(itr.hasNext()){
View Full Code Here

Examples of codec.asn1.ASN1ObjectIdentifier.clone()

    } catch (Exception e) {
        throw new BadNameException("Unsupported attribute key: \""
          + key + "\"");
    }
      }
      seq.add(oid.clone());

      if (entry.isEncodedValue()) {
    ByteArrayInputStream in;
    BERDecoder dec;
    ASN1Type obj;
View Full Code Here

Examples of codec.x509.AlgorithmIdentifier.clone()

  cipher.init(Cipher.ENCRYPT_MODE, pub);

  /*
   * Key Encryption Algorithm Identifier
   */
  cAlg_ = (AlgorithmIdentifier) aid.clone();
  add(cAlg_);

  /*
   * Encrypt the bulk encryption key. Better safe than sorry - we check
   * for bad return values from both the key and the cipher. This already
View Full Code Here

Examples of colonies.lunatrius.client.lunatrius.schematica.util.Vector3i.clone()

            if (mcBlockId != 0) {
              if (this.settings.highlight && renderPass == 2) {
                if (blockId == 0 && this.settings.highlightAir) {
                  tmp = new Vector3i(x, y, z);
                  drawCuboidSurface(tmp, tmp.clone().add(1), 0x3F, 0.75f, 0.0f, 0.75f, 0.25f);
                  drawCuboidOutline(tmp, tmp.clone().add(1), 0x3F, 0.75f, 0.0f, 0.75f, 0.25f);
                } else if (blockId != mcBlockId) {
                  tmp = new Vector3i(x, y, z);
                  drawCuboidSurface(tmp, tmp.clone().add(1), sides, 1.0f, 0.0f, 0.0f, 0.25f);
                  drawCuboidOutline(tmp, tmp.clone().add(1), sides, 1.0f, 0.0f, 0.0f, 0.25f);
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.