Examples of includes()


Examples of org.apache.qpid.transport.Range.includes()

                        {
                            range = null;
                            break;
                        }
                    }
                    if(range != null && range.includes(next))
                    {
                        MessageDispositionChangeListener changeListener = _messageDispositionListenerMap.remove(next);
                        action.performAction(changeListener);
                    }
View Full Code Here

Examples of org.apache.qpid.transport.Range.includes()

                        {
                            range = null;
                            break;
                        }
                    }
                    if(range != null && range.includes(next))
                    {
                        MessageDispositionChangeListener changeListener = _messageDispositionListenerMap.get(next);
                        if(changeListener != null && changeListener.acquire())
                        {
                            acquired.add(next);
View Full Code Here

Examples of org.apache.qpid.transport.Range.includes()

                        {
                            range = null;
                            break;
                        }
                    }
                    if(range != null && range.includes(next))
                    {
                        MessageDispositionChangeListener changeListener = _messageDispositionListenerMap.remove(next);
                        action.performAction(changeListener);
                    }
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.util.SimpleSet.includes()

    Object[] keys = this.indexStates.keyTable;
    IPath[] locations = new IPath[this.indexStates.elementSize];
    int count = 0;
    for (int i = 0, l = keys.length; i < l; i++) {
      IPath key = (IPath) keys[i];
      if (key != null && !knownPaths.includes(key.toOSString()))
        locations[count++] = key;
    }
    if (count > 0)
      removeIndexesState(locations);
  }
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.util.SimpleSet.includes()

        IClasspathEntry[] entries = projectsCanSeeFocus[i].getResolvedClasspath();
        for (int j = entries.length; --j >= 0;) {
          IClasspathEntry entry = entries[j];
          if (entry.getEntryKind() == IClasspathEntry.CPE_LIBRARY) {
            IPath path = entry.getPath();
            if (jarsToCheck.includes(path)) {
              locations.add(manager.computeIndexLocation(entry.getPath()));
              jarsToCheck.remove(path);
            }
          }
        }
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.util.SimpleSet.includes()

            IClasspathEntry[] entries = project.getResolvedClasspath();
            for (int j = entries.length; --j >= 0;) {
              IClasspathEntry entry = entries[j];
              if (entry.getEntryKind() == IClasspathEntry.CPE_LIBRARY) {
                IPath path = entry.getPath();
                if (jarsToCheck.includes(path)) {
                  locations.add(manager.computeIndexLocation(entry.getPath()));
                  jarsToCheck.remove(path);
                }
              }
            }
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.util.SimpleSet.includes()

  SimpleSet skip = findSuperinterfaceCollisions(superclass, superInterfaces);
  for (int i = 0; i < nextPosition; i++) {
    superType = interfacesToVisit[i];
    if (superType.isValidBinding()) {
      if (skip != null && skip.includes(superType)) continue;
      if ((itsInterfaces = superType.superInterfaces()) != Binding.NO_SUPERINTERFACES) {
        int itsLength = itsInterfaces.length;
        if (nextPosition + itsLength >= interfacesToVisit.length)
          System.arraycopy(interfacesToVisit, 0, interfacesToVisit = new ReferenceBinding[nextPosition + itsLength + 5], 0, nextPosition);
        nextInterface : for (int a = 0; a < itsLength; a++) {
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.core.builder.ReferenceCollection.includes()

    }
    int newlyAffectedFiles = 0;
    for (Iterator<Map.Entry<File, ReferenceCollection>> i = references.entrySet().iterator(); i.hasNext();) {
      Map.Entry<File, ReferenceCollection> entry = i.next();
      ReferenceCollection refs = entry.getValue();
      if (refs != null && refs.includes(qualifiedNames, simpleNames)) {
        if (listenerDefined()) {
          getListener().recordDecision(
              toString() + ": type " + new String(className) + " is depended upon by '" + entry.getKey() + "'");
        }
        newlyAffectedFiles++;
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.core.builder.ReferenceCollection.includes()

    // System.err.println("qualif: " + qualifiedStrings);

    for (Iterator<Map.Entry<File, ReferenceCollection>> i = references.entrySet().iterator(); i.hasNext();) {
      Map.Entry<File, ReferenceCollection> entry = i.next();
      ReferenceCollection refs = entry.getValue();
      if (refs != null && refs.includes(qualifiedNames, simpleNames)) {
        File file = entry.getKey();
        if (file.exists()) {
          if (!lastTimeSources.contains(file)) { // ??? O(n**2)
            if (listenerDefined()) {
              getListener().recordDecision("Need to recompile '" + file.getName().toString() + "'");
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.util.SimpleSet.includes()

    Object[] keys = this.indexStates.keyTable;
    IPath[] locations = new IPath[this.indexStates.elementSize];
    int count = 0;
    for (int i = 0, l = keys.length; i < l; i++) {
      IPath key = (IPath) keys[i];
      if (key != null && !knownPaths.includes(key.toOSString()))
        locations[count++] = key;
    }
    if (count > 0)
      removeIndexesState(locations);
  }
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.