Examples of startsWith()


Examples of org.springframework.boot.loader.util.AsciiBytes.startsWith()

    return filteredEntries;
  }

  private void processEntry(JarEntryData entry) {
    AsciiBytes name = entry.getName();
    if (name.startsWith(META_INF)) {
      processMetaInfEntry(name, entry);
    }
  }

  private void processMetaInfEntry(AsciiBytes name, JarEntryData entry) {
View Full Code Here

Examples of org.springframework.data.elasticsearch.core.query.Criteria.startsWith()

        return criteria.is(parameters.next()).not();
      case REGEX:
        return criteria.expression(parameters.next().toString());
      case LIKE:
      case STARTING_WITH:
        return criteria.startsWith(parameters.next().toString());
      case ENDING_WITH:
        return criteria.endsWith(parameters.next().toString());
      case CONTAINING:
        return criteria.contains(parameters.next().toString());
      case AFTER:
View Full Code Here

Examples of org.springframework.data.solr.core.query.Criteria.startsWith()

        return criteria.isNotNull();
      case REGEX:
        return criteria.expression(appendBoostAndGetParameterValue(criteria, parameters).toString());
      case LIKE:
      case STARTING_WITH:
        return criteria.startsWith(asStringArray(appendBoostAndGetParameterValue(criteria, parameters)));
      case NOT_LIKE:
        return criteria.startsWith(asStringArray(appendBoostAndGetParameterValue(criteria, parameters))).not();
      case ENDING_WITH:
        return criteria.endsWith(asStringArray(appendBoostAndGetParameterValue(criteria, parameters)));
      case CONTAINING:
View Full Code Here

Examples of org.springframework.ldap.core.DistinguishedName.startsWith()

        if(base.equals(full)) {
            return "";
        }

        Assert.isTrue(full.startsWith(base), "Full DN does not start with base DN");

        full.removeFirst(base);

        return full.toString();
    }
View Full Code Here

Examples of org.uberfire.java.nio.file.Path.startsWith()

    public void startsWith() {
        when( fs.getSeparator() ).thenReturn( "/" );

        final Path path = create( fs, "/path/to/file.txt", false );

        assertTrue( path.startsWith( create( fs, "/path", false ) ) );
        assertTrue( path.startsWith( create( fs, "/path/to", false ) ) );
        assertTrue( path.startsWith( create( fs, "/path/to/file.txt", false ) ) );
        assertFalse( path.startsWith( create( fs, "/p/th/to/file.txt", false ) ) );
        assertFalse( path.startsWith( create( fs, "/some/other/path/to/file.txt", false ) ) );
        assertFalse( path.startsWith( create( fs, "path/to/file.txt", false ) ) );
View Full Code Here

Examples of project.gluebooster.graphics.PolyLine.startsWith()

      {
         for (RectangleWithRef<Vertex,?> vertex : nodeMapping.values())
         {
            int equalityDistance = 5;
            if (line.intersects(vertex)
                  && !(line.startsWith(vertex.getCenter(), equalityDistance) || (line
                        .endsWith(vertex.getCenter(), equalityDistance))))
            {
               // determine which diagonale part is intersected and add another
               // point to the polyline
               Line2D.Double diagonalePart = vertex.getUpperLeftDiagonaleLine();
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.