Tabnine Logo
TimSorter.reset
Code IndexAdd Tabnine to your IDE (free)

How to use
reset
method
in
org.apache.lucene.util.TimSorter

Best Java code snippets using org.apache.lucene.util.TimSorter.reset (Showing top 4 results out of 315)

origin: org.apache.lucene/lucene-core

@Override
public void sort(int from, int to) {
 checkRange(from, to);
 if (to - from <= 1) {
  return;
 }
 reset(from, to);
 do {
  ensureInvariants();
  pushRunLen(nextRun());
 } while (runEnd(0) < to);
 exhaustStack();
 assert runEnd(0) == to;
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.lucene

@Override
public void sort(int from, int to) {
 checkRange(from, to);
 if (to - from <= 1) {
  return;
 }
 reset(from, to);
 do {
  ensureInvariants();
  pushRunLen(nextRun());
 } while (runEnd(0) < to);
 exhaustStack();
 assert runEnd(0) == to;
}
origin: org.infinispan/infinispan-embedded-query

@Override
public void sort(int from, int to) {
 checkRange(from, to);
 if (to - from <= 1) {
  return;
 }
 reset(from, to);
 do {
  ensureInvariants();
  pushRunLen(nextRun());
 } while (runEnd(0) < to);
 exhaustStack();
 assert runEnd(0) == to;
}
origin: harbby/presto-connectors

@Override
public void sort(int from, int to) {
 checkRange(from, to);
 if (to - from <= 1) {
  return;
 }
 reset(from, to);
 do {
  ensureInvariants();
  pushRunLen(nextRun());
 } while (runEnd(0) < to);
 exhaustStack();
 assert runEnd(0) == to;
}
org.apache.lucene.utilTimSorterreset

Popular methods of TimSorter

  • binarySort
  • checkRange
  • compare
  • compareSaved
    Compare element i from the temporary storage with elementj from the slice to sort, similarly to #com
  • copy
    Copy data from slot src to slot dest.
  • ensureInvariants
  • exhaustStack
  • lower2
  • lowerSaved
  • lowerSaved3
  • merge
  • mergeAt
  • merge,
  • mergeAt,
  • mergeHi,
  • mergeInPlace,
  • mergeLo,
  • minRun,
  • nextRun,
  • pushRunLen,
  • restore

Popular in Java

  • Running tasks concurrently on multiple threads
  • getSharedPreferences (Context)
  • getResourceAsStream (ClassLoader)
  • findViewById (Activity)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Table (org.hibernate.mapping)
    A relational table
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now