Examples of reset()


Examples of Express.services.BusinessClass.reset()

                // ------------------------------
                ParameterHolder_BusinessClass qq_value = new ParameterHolder_BusinessClass();
                theCurrentRecord.getAttr(i+10000, qq_value);
                x = (BusinessClass)qq_value.getObject();
                if (x != null) {
                    x.reset(false);
                }
            }
            if (this.getRecordTemplate().hasAttr(i+10000) && (this.getRecordTemplate().getForeignAttrMult(i+10000)&BusinessQuery.ASSOC_MULT_TO_MANY) > 0) {
                Array_Of_BusinessClass<BusinessClass> x = null;
                // ------------------------------
View Full Code Here

Examples of Hack.CPUEmulator.RAM.reset()

        MemorySegment[][] segments = new MemorySegment[Definitions.RAM_SIZE][];

        RAM ram = new RAM(null, segments, null);
        ram.addErrorListener(this);
        ram.reset();

        // assignes the memory segments
        AbsolutePointedMemorySegment stackSegment =
            new AbsolutePointedMemorySegment(ram, null);
        TrimmedAbsoluteMemorySegment workingStackSegment =
View Full Code Here

Examples of Hack.ComputerParts.Bus.reset()

        ALU alu = new ALU(null);
        alu.reset();

        Bus bus = new Bus(null);
        bus.reset();

        cpu = new CPU(ram, rom, A, D, PC, alu, bus);

        init();
    }
View Full Code Here

Examples of Hack.ComputerParts.Register.reset()

        PointerAddressRegisterAdapter A = new PointerAddressRegisterAdapter(null, ram);
        A.reset();

        Register D = new Register(null);
        D.reset();

        PointerAddressRegisterAdapter PC = new PointerAddressRegisterAdapter(null, rom);
        PC.reset();

        keyboard = new Keyboard(ram, null);
View Full Code Here

Examples of Hack.ComputerParts.TextFileGUI.reset()

        try {
            comparisonReader = new BufferedReader(new FileReader(comparisonFileName));

            if (getGui() != null) {
                TextFileGUI comp = ((HackAssemblerGUI) getGui()).getComparison();
                comp.reset();
                comp.setContents(comparisonFileName);

                comparisonProgram = new short[comp.getNumberOfLines()];
                for (int i = 0; i < comp.getNumberOfLines(); i++) {
                    if (comp.getLineAt(i).length() != Definitions.BITS_PER_WORD) {
View Full Code Here

Examples of Utils.MonthIterator.reset()

                            if(strGroups[k].equals(mwcMain.getProfile().getReasons().get(tmpTrans.strReason.trim().toLowerCase())))
                                dblMonthSpent[k][i]-=tmpTrans.amount;
                        }
                    }
                }
                mitTimer.reset();
                for(int i=0; i<strGroups.length; i++)
                {
                    if(tmpTrans.amount>0)
                        continue;
                    if((strGroups[i].equals(mwcMain.getProfile().getReasons().get(tmpTrans.strReason.trim().toLowerCase())))&&(!tmpTrans.strReason.equals(TransferController.TransferMinus)))
View Full Code Here

Examples of aQute.bnd.deployer.repository.FixedIndexedRepo.reset()

    @Descriptor("lists resources in a repository")
    public static void ls(CommandRepo repo, String filter) throws Exception {

        FixedIndexedRepo sourceRepo = repo.repo();
        sourceRepo.reset();

        Requirement requirement = getRequirement(filter);
        List<Resource> resources = findResources(sourceRepo, requirement);

        for (Resource resource : resources) {
View Full Code Here

Examples of ae.javax.imageio.stream.ImageInputStream.reset()

                if (stream != null) {
                    stream.mark();
                }
                canDecode = spi.canDecodeInput(input);
                if (stream != null) {
                    stream.reset();
                }

                return canDecode;
            } catch (IOException e) {
                return false;
View Full Code Here

Examples of algorithms.genetic.Evolution.reset()

  @Override
  public void deal(Card[] deck) {
    Log.write("Starting HandGA algorithm with parameters:" + popSize + "," + generationSize + "," + mutProb + "," + crossProb);
    Evolution evolution = new HandEvolution(deck, this.pointsLimits, this.cardLimits, popSize, generationSize, mutProb, crossProb);
    for (int i=0;i<num;i++){
      evolution.reset();
      evolution.evolve();
      HandIndividual best = (HandIndividual)evolution.getBest();
      if (best.isIdeal())
        answers[i] = this.putInMatrix(best.toHand());
      else
View Full Code Here

Examples of algorithms.genetic.HandEvolution.reset()

  @Override
  public void deal(Card[] deck) {
    Log.write("Starting HandGA algorithm with parameters:" + popSize + "," + generationSize + "," + mutProb + "," + crossProb);
    Evolution evolution = new HandEvolution(deck, this.pointsLimits, this.cardLimits, popSize, generationSize, mutProb, crossProb);
    for (int i=0;i<num;i++){
      evolution.reset();
      evolution.evolve();
      HandIndividual best = (HandIndividual)evolution.getBest();
      if (best.isIdeal())
        answers[i] = this.putInMatrix(best.toHand());
      else
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.