Codota Logo
TimSorter.minRun
Code IndexAdd Codota to your IDE (free)

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

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ArrayList a =
  • Codota Iconnew ArrayList<String>()
  • Codota Iconnew ArrayList()
  • Codota Iconnew ArrayList<Object>()
  • Smart code suggestions by Codota
}
origin: org.apache.lucene/lucene-core

void reset(int from, int to) {
 stackSize = 0;
 Arrays.fill(runEnds, 0);
 runEnds[0] = from;
 this.to = to;
 final int length = to - from;
 this.minRun = length <= THRESHOLD ? length : minRun(length);
}
origin: org.infinispan/infinispan-embedded-query

void reset(int from, int to) {
 stackSize = 0;
 Arrays.fill(runEnds, 0);
 runEnds[0] = from;
 this.to = to;
 final int length = to - from;
 this.minRun = length <= THRESHOLD ? length : minRun(length);
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.lucene

void reset(int from, int to) {
 stackSize = 0;
 Arrays.fill(runEnds, 0);
 runEnds[0] = from;
 this.to = to;
 final int length = to - from;
 this.minRun = length <= THRESHOLD ? length : minRun(length);
}
origin: harbby/presto-connectors

void reset(int from, int to) {
 stackSize = 0;
 Arrays.fill(runEnds, 0);
 runEnds[0] = from;
 this.to = to;
 final int length = to - from;
 this.minRun = length <= THRESHOLD ? length : minRun(length);
}
org.apache.lucene.utilTimSorterminRun

Javadoc

Minimum run length for an array of length length.

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,
  • nextRun,
  • pushRunLen,
  • reset,
  • restore

Popular in Java

  • Making http post requests using okhttp
  • addToBackStack (FragmentTransaction)
  • getExternalFilesDir (Context)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • TreeMap (java.util)
    A Red-Black tree based NavigableMap implementation. The map is sorted according to the Comparable of
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now