org.apache.solr.util

## Class PrimUtils

- java.lang.Object
- - org.apache.solr.util.PrimUtils

-     public class PrimUtils
      extends Object

  Utilities for primitive Java data types.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `PrimUtils.IntComparator`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `PrimUtils()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `sort(int start, int end, int[] array, PrimUtils.IntComparator comparator)` Sort the integer array from "start" inclusive to "end" exclusive in ascending order, using the provided comparator.

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

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

- - ### Constructor Detail

    - #### PrimUtils

          public PrimUtils()

  - ### Method Detail

    - #### sort

          public static void sort(int start,
                                  int end,
                                  int[] array,
                                  PrimUtils.IntComparator comparator)

      Sort the integer array from "start" inclusive to "end" exclusive in ascending order, using the provided comparator. TODO: is this an unstable sort?

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