Examples of find()


Examples of Framework.CircularList.find()

        /*
         * find the component in the list and return the next one
         */
        CircularList partners = getPartners((JComponent)comp);
        if (partners == null) return null;
        if (partners.find(comp)){
            partners.move();
            return (JComponent)partners.current();
        }
        return null;
    }
View Full Code Here

Examples of abbot.finder.BasicFinder.find()

        BasicFinder finder = new BasicFinder();
       
        Matcher m = new FieldMatcher();
        JFormattedTextField f = null;
        try {
            f = (JFormattedTextField) finder.find( c, m );
        } catch (ComponentNotFoundException ex) {
            ex.printStackTrace();
        } catch (MultipleComponentsFoundException ex) {
            ex.printStackTrace();
        }
View Full Code Here

Examples of adipe.translate.sql.ChainedColumnIndexes.find()

        for (Expression expr : selectElems) {
            ++ i;
            if (expr.codeRefersToConjuredColumn()) {
                try {
                    // TODO fix this - do not even attempt to add a second time here
                    attr.find(expr.conjure().column());
                } catch (IndexOutOfBoundsException ex) {
                    attr.add(expr.conjure().column());
                }
            }
            if (! expr.isSuitableForProject()) {
View Full Code Here

Examples of algorithm.Finder.Find()

  @Test
  public void Returns_Empty_Results_When_Given_Empty_List() {
    List<Thing> list = new ArrayList<Thing>();
    Finder finder = new Finder(list);

    F result = finder.Find(FT.One);
    assertEquals(null, result.P1);

    assertEquals(null, result.P2);
  }
View Full Code Here

Examples of at.ssw.coco.lib.model.atgmodel.ATGModel.find()

    String word = wordFinder.extractWord(cocoWordRegion);
    if (word == null) {
      return null;
    }

    ATGSegment segment = fATGModel.find(word);
    Region wordRegion = new Region(cocoWordRegion.getOffset(), cocoWordRegion.getLength());
    if (segment != null) {
      return new IHyperlink[] { new ATGHyperlink(wordRegion, new Region(segment.getRegion().getOffset(), segment.getRegion().getLength()))};
    }
View Full Code Here

Examples of bm.db.Table.find()

                            );
                            break;

                        case FIND               :
                            return sendRowSet(
                                    table.find(
                                            Conversor.toString( args[0] ),
                                            args[1].get( "value" )
                                    ),
                                    target
                            );
View Full Code Here

Examples of bm.db.index.Index.find()

            throw new IndexNotFoundException(
                    Constants.ERR_TBL_FIND_RAW,
                    "table.findRaw(): " + fieldName
            );
        }
        return (int[]) index.find( value );
    }

    /**
     * Create a new empty row.<br/>
     * No changes are made until a call to addRow with this obeject is made.
View Full Code Here

Examples of br.com.mystudies.powermock.dao.Dao.find()

public class ServiceImpl implements Service {

  @Override
  public String find(SGDB sgdb) {
    Dao dao = FactoryDao.create(sgdb);
    return dao.find();
  }

 
}
View Full Code Here

Examples of br.com.objectos.way.base.io.Directory.find()

  @Test(dependsOnMethods = "extract")
  public void plugins() {
    execute("kdo", "eclipse", "prepare", "--plugins");

    Directory eclipse = eclipseVar.dirAt("eclipse");
    List<File> res = eclipse.find()
        .typed()
        .name("org.testng.*")
        .list();
    assertThat(res.size(), greaterThan(0));
  }
View Full Code Here

Examples of br.com.procempa.modus.session.PersistentAccess.find()

   */
  public static Equipamento getEquipamento(Long id) {
    Equipamento eq = null;
    try {
      PersistentAccess pa = PersistentAccessFactory.getInstance();
      eq = (Equipamento) pa.find(Equipamento.class, id);
    } catch (Exception e) {
      e.printStackTrace();
    }
    return eq;
  }
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.