Class FunUtil.ObjIntPair<T>

  • Enclosing class:
    FunUtil

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

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

    • Field Detail

      • t

        final T t
      • i

        final int i
    • Constructor Detail

      • ObjIntPair

        public ObjIntPair​(T t,
                          int i)