title: Kotlin: What can I do when a Java library has an overload of both primitive and boxed type?
body: <p>For example, FastUtil's <code>IntArrayList</code> has a <code>push</code> method that accepts both <code>int</code> (primitive) and <code>Integer</code> (boxed), but Kotlin sees these both as the same function <code>push(Int)</code>, therefore I cannot use the function at all as the function is ambiguous.</p>
  
  <p>What should I do when a Java library has overloads for both the primitive and boxed type?</p>
  
  <p>(p.s. I am aware that I can use the <code>add(int)</code> method. I am in search of what to do if I come across such a problem in the future.)</p>