Examples of indexOf()


Examples of org.eclipse.wst.sse.core.internal.provisional.text.ITextRegionList.indexOf()

    // Find the attribute region and name for which this position should
    // have a value proposed
    IStructuredDocumentRegion open = node.getFirstStructuredDocumentRegion();
    ITextRegionList openRegions = open.getRegions();
    int i = openRegions.indexOf(contentAssistRequest.getRegion());
    if (i < 0) {
      return;
    }
    ITextRegion nameRegion = null;
    while (i >= 0) {
View Full Code Here

Examples of org.eigenbase.util.IntList.indexOf()

    } else {
      // Target is coarser level of aggregation. Generate an aggregate.
      final BitSet groupSet = new BitSet();
      final IntList targetGroupList = BitSets.toList(target.getGroupSet());
      for (int c : BitSets.toIter(query.getGroupSet())) {
        int c2 = targetGroupList.indexOf(c);
        if (c2 < 0) {
          return null;
        }
        groupSet.set(c2);
      }
View Full Code Here

Examples of org.enhydra.shark.xpdl.XMLCollection.indexOf()

         return;
      }

      if (JaWEManager.getInstance().getJaWEController().canRepositionElement(owncol, movingElement)) {
         XMLElement currentElementAtPosition = (XMLElement) allItems.getValueAt(newMovingElementPosition, 0);
         int newpos = owncol.indexOf(currentElementAtPosition);

         DefaultTableModel dtm = (DefaultTableModel) allItems.getModel();
         Vector v = getRow(movingElement);
         dtm.removeRow(movingElementPosition);
         dtm.insertRow(newMovingElementPosition, v);
View Full Code Here

Examples of org.exoplatform.services.token.attribute.Attributes.indexOf()

      {
         String key = iter.next();
         if (!node.isNode(key))
            continue;
         Attributes attrs = AttributeParser.getAttributes(node);
         int idx = attrs.indexOf(map.get(key));
         if (idx < 0)
            continue;
         attr = attrs.get(idx);
         String value = attr.getValue();
         if (verifier != null && !verifier.verify(value))
View Full Code Here

Examples of org.fonteditor.elements.paths.FEPath.indexOf()

  LocalPathAndIndex findLocalPathAndIndex(final FEPoint fepoint) {
    return (LocalPathAndIndex) fepathlist.executeOnEachPath(new CallBackWithReturn() {
      public Object callback(Object o) {
        FEPath fepath = (FEPath) o;
        if (fepath.contains(fepoint)) {
          return new LocalPathAndIndex(fepath, fepath.indexOf(fepoint));
        }

        return null;
      }
    });
View Full Code Here

Examples of org.fonteditor.elements.points.FEPointList.indexOf()

  }

  public int indexOf(FEPoint p) {
    FEPointList fepl = getFEPointList();

    return fepl.indexOf(p);
  }

  public FEPoint safelyGetPoint(int i) {
    FEPointList fepl = getFEPointList();
View Full Code Here

Examples of org.fto.jthink.io.SmartAccessFile.indexOf()

      saf.read(safs);
      this.printBytes("safs:", safs);
     
      saf.seek(0);
      byte[] bs = "pqrstuvwxyz".getBytes();
      long index = saf.indexOf(bs, 0, bs.length);
      System.out.println("saf.indexOf(bs) 1:"+index);
      if(index!=-1){
        super.fail();
      }
      saf.seek(0);
View Full Code Here

Examples of org.glassfish.grizzly.http.util.ByteChunk.indexOf()

        index = 0;

        // Resolve occurrences of "/./" in the normalized path
        while (true) {
            index = uriBC.indexOf("/./", 0, 3, index);
            if (index < 0)
                break;
            copyBytes(b, start + index, start + index + 2,
                      end - start - index - 2);
            end = end - 2;
View Full Code Here

Examples of org.glassfish.grizzly.http.util.CharChunk.indexOf()

                mappingData.recycle();
            }
            HttpHandler httpService;

            final CharChunk decodedURICC = decodedURI.getCharChunk();
            final int semicolon = decodedURICC.indexOf(';', 0);

            // Map the request without any trailling.
            httpService = mapUriWithSemicolon(request, decodedURI, semicolon, mappingData);
            if (httpService == null || httpService instanceof ContainerMapper) {
                String ext = decodedURI.toString();
View Full Code Here

Examples of org.glassfish.grizzly.http.util.DataChunk.indexOf()

        final DataChunk uriBC =
                coyoteRequest.getRequest().getRequestURIRef().getRequestURIBC();
       
//        start = uriBC.getStart();
//        end = uriBC.getEnd();
        semicolon = uriBC.indexOf(parameter, 0);

        if (semicolon > 0) {
            semicolon2 = uriBC.indexOf(';', semicolon + parameter.length());

            final int end;
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.