Package org.optaplanner.core.impl.util

## Class RhinoJavaScriptPoolSizer

- java.lang.Object
- - org.optaplanner.core.impl.util.RhinoJavaScriptPoolSizer

- All Implemented Interfaces:
    `IntSupplier`

      public final class RhinoJavaScriptPoolSizer
      extends Object
      implements IntSupplier

  This class exists separately, as Rhino is an optional dependency and the imports would have immediately triggered `ClassNotFoundException`s if present on `ConfigUtils` directly.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `RhinoJavaScriptPoolSizer​(String propertyName, String script)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | `getAsInt()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### RhinoJavaScriptPoolSizer

          public RhinoJavaScriptPoolSizer​(String propertyName,
                                          String script)

  - ### Method Detail

    - #### getAsInt

          public int getAsInt()

      Specified by:
        `getAsInt` in interface `IntSupplier`