PrimUtils (Solr 3.6.2 API)
Keywords: org.apache.solr.util.PrimUtils class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`static class` | `PrimUtils.IntComparator`

Constructor Summary
`PrimUtils()`

Method Summary
`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?

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD