Examples of removeIndex()


Examples of org.eclipse.jdt.internal.core.search.indexing.IndexManager.removeIndex()

            indexManager.removeSourceFolderFromIndex(this.project, path, inclusionPatterns, exclusionPatterns);
            break;
          case IClasspathEntry.CPE_LIBRARY:
            if (state.otherRoots.get(path) == null) { // if root was not shared
              indexManager.discardJobs(path.toString());
              indexManager.removeIndex(path);
              // TODO (kent) we could just remove the in-memory index and have the indexing check for timestamps
            }
            break;
        }
      }
View Full Code Here

Examples of org.eclipse.jdt.internal.core.search.indexing.IndexManager.removeIndex()

        IClasspathEntry entry = classpath[i];
        if (entry.getEntryKind() == IClasspathEntry.CPE_LIBRARY) {
          IPath path = entry.getPath();
          if (rootInfos.get(path) == null) {
            externalTimeStamps.remove(path);
            indexManager.removeIndex(path); // force reindexing on next reference (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=250083 )
          }
        }
      }
    }
View Full Code Here

Examples of org.eclipse.jdt.internal.core.search.indexing.IndexManager.removeIndex()

            indexManager.removeSourceFolderFromIndex(this.project, path, inclusionPatterns, exclusionPatterns);
            break;
          case IClasspathEntry.CPE_LIBRARY:
            if (state.otherRoots.get(path) == null) { // if root was not shared
              indexManager.discardJobs(path.toString());
              indexManager.removeIndex(path);
              // TODO (kent) we could just remove the in-memory index and have the indexing check for timestamps
            }
            break;
        }
      }
View Full Code Here

Examples of org.eclipse.jdt.internal.core.search.indexing.IndexManager.removeIndex()

                if (oldurl == null && newurl == null) {
                  pathHasChanged = false;
                } else if (oldurl != null && newurl != null) {
                  pathHasChanged = !(newurl.equals(oldurl));
                } else if (oldurl != null) {
                  indexManager.removeIndex(newPath);
                }
                break;
              }
            }
            if (pathHasChanged) {
View Full Code Here

Examples of org.gridgain.grid.util.GridLongList.removeIndex()

        assertEquals(-1, list.removeValue(0, 3));

        assertEquals(4, list.removeValue(0, 6));
        assertEquals(asList(1,2,4,5), list);

        assertEquals(2, list.removeIndex(1));
        assertEquals(asList(1,4,5), list);

        assertEquals(1, list.removeIndex(0));
        assertEquals(asList(4,5), list);
    }
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.