Class SlotAcc.Resizer

java.lang.Object
org.apache.solr.search.facet.SlotAcc.Resizer
Enclosing class:
SlotAcc

public abstract static class SlotAcc.Resizer extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract int
     
    abstract int
    getNewSlot(int oldSlot)
     
    double[]
    resize(double[] old, double defaultValue)
     
    int[]
    resize(int[] old, int defaultValue)
     
    long[]
    resize(long[] old, long defaultValue)
     
    org.apache.lucene.util.FixedBitSet
    resize(org.apache.lucene.util.FixedBitSet old)
     
    <T> T[]
    resize(T[] old, T defaultValue)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Resizer

      public Resizer()
  • Method Details

    • getNewSize

      public abstract int getNewSize()
    • getNewSlot

      public abstract int getNewSlot(int oldSlot)
    • resize

      public double[] resize(double[] old, double defaultValue)
    • resize

      public int[] resize(int[] old, int defaultValue)
    • resize

      public long[] resize(long[] old, long defaultValue)
    • resize

      public org.apache.lucene.util.FixedBitSet resize(org.apache.lucene.util.FixedBitSet old)
    • resize

      public <T> T[] resize(T[] old, T defaultValue)