org.apache.solr.search.facet

## 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 and Description
    `Resizer()`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract int` | `getNewSize()`
    `abstract int` | `getNewSlot(int oldSlot)`
    `double[]` | `resize(double[] old, double defaultValue)`
    `int[]` | `resize(int[] old, int defaultValue)`
    `<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 Detail

    - #### Resizer

          public Resizer()

  - ### Method Detail

    - #### 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 <T> T[] resize(T[] old,
                                T defaultValue)

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.