Class Sorter.ObjIntPair<T>

  • Enclosing class:
    Sorter

    public static class Sorter.ObjIntPair<T>
    extends Object
    Tuple consisting of an object and an integer.

    Similar to Pair, but saves boxing overhead of converting int to Integer.

    • Constructor Detail

      • ObjIntPair

        public ObjIntPair​(T t,
                          int i)