Examples of matches()


Examples of com.hp.hpl.jena.graph.Node.matches()

        Node B = NodeCreateUtils.create( "'1'xsd:double" );
        assertFalse( A.equals( B ) );
        assertFalse( A.sameValueAs( B ) );
        assertFalse( B.sameValueAs( A ) );
        assertFalse( A.matches( B ) );
        assertFalse( B.matches( A ) );
        }
   
    public void testProgrammaticValues()
        {
        Node ab = NodeFactory.createLiteral( LiteralLabelFactory.create( new Byte((byte)42) ) );

Examples of com.jitlogic.zorka.common.util.StringMatcher.matches()

    @Test
    public void testMatchCasesWithExcludeRules() throws Exception {
        StringMatcher m = new StringMatcher(null,
                Arrays.asList("aaa", "bbb", "~cc.*cc", "~ddd"));

        assertFalse(m.matches("aaa"));
        assertTrue(m.matches("aa"));
        assertFalse(m.matches("bbb"));
        assertTrue(m.matches("ccaac"));
        assertFalse(m.matches("ccaacc"));
        assertFalse(m.matches("ddd"));

Examples of com.mossle.bpm.rule.RuleMatcher.matches()

        for (Map.Entry<RuleMatcher, AssigneeRule> entry : assigneeRuleMap
                .entrySet()) {
            RuleMatcher ruleMatcher = entry.getKey();

            if (!ruleMatcher.matches(assignee)) {
                continue;
            }

            String value = ruleMatcher.getValue(assignee);
            AssigneeRule assigneeRule = entry.getValue();

Examples of com.mucommander.ui.quicksearch.QuickSearch.matches()

        search = this.table.getQuickSearch();
        if(!table.hasFocus())
            matches = true;
        else {
            if(search.isActive())
                matches = search.matches(this.table.getFileNameAtRow(rowIndex));
            else
                matches = true;
        }

        // Retrieves the various indexes of the colors to apply.

Examples of com.mysema.query.types.path.StringPath.matches()

        predicates.add(str.isNotNull());
        predicates.add(str.isNull());
//        predicates.add(str.like("a"));
        predicates.add(str.loe("a"));
        predicates.add(str.lt("a"));
        predicates.add(str.matches("a"));
        predicates.add(str.ne("a"));
        predicates.add(str.notBetween("a", "b"));
        predicates.add(str.notIn("a","b","c"));
        predicates.add(str.startsWith("a"));
        predicates.add(str.startsWithIgnoreCase("a"));

Examples of com.omnicarecr.accounts.util.UnixCrypt.matches()

 

  public void testMatches(){
    UnixCrypt unixcrypt = null;
    boolean matches = unixcrypt.matches(CRYPT_PASSWORD, PASSWORD);
    assertTrue(matches == true);
  }
}   

Examples of com.openshift.client.cartridge.query.LatestVersionQuery.matches()

    // verification
    assertTrue(redhatSelector.matches(redhat10));
    assertTrue(redhatSelector.matches(redhat30));
    assertFalse(redhatSelector.matches(jboss10));
    assertTrue(jbossSelector.matches(jboss10));
    assertFalse(closedSourceSelector.matches(jboss10));
  }

  @Test
  public void shouldReturnEmptyListOnNoCartridges() {
    // pre-conditions

Examples of com.projity.pm.graphic.spreadsheet.SpreadSheetSearchContext.matches()

      gnode=(GraphicNode)(ctx.isForward() ? i.next() : i.previous());
      if (gnode.isVoid())
        continue;
      node = gnode.getNode();
      obj = node.getImpl();
      if (ctx.matches(obj)) {
        found = true;
        break;
      }
    }
    if (found) {

Examples of com.puppetlabs.geppetto.forge.model.Dependency.matches()

    // workspace
    Iterator<Dependency> depsItor = deps.iterator();
    nextDep: while(depsItor.hasNext()) {
      Dependency dep = depsItor.next();
      for(Metadata metadata : metadatas)
        if(dep.matches(metadata)) {
          depsItor.remove();
          continue nextDep;
        }
    }

Examples of com.sun.enterprise.admin.common.CombinedPatternMatcher.matches()

    private boolean matchDomain(String domainNamePattern, String testDomainName)
    {
        IPatternMatcher matcher = new CombinedPatternMatcher(domainNamePattern,
            testDomainName);
       
        return ( matcher.matches() );
    }
    /**
        This is where the check into persistent
        storage registry comes into picture. So first
        check whether a Bean corresponding exactly to this
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.