title: Use cases of removeall and removeif
body: <p>I found this:  </p>
  
  <pre><code>fun main() {
      val list: MutableList&lt;Int&gt; = mutableListOf(1, 2, 3, 4, 5)
  
      list.removeAll { x -&gt; x in 1..3 } // [4, 5]
      list.removeIf { x -&gt; x in 1..3 } // [4, 5]
  }
  </code></pre>
  
  <p>Both of them yield the same result.  </p>
  
  <p>Though I understand that <code>removeAll</code> is Kotlin and <code>removeIf</code> is Java but I don't understand why <code>removeAll</code> is there when <code>removeIf</code> was already there? </p>
  
  <p>And for the fact that we could use <code>removeIf</code> in Kotlin without any hassle. Or is there any use case that might need one over another?</p>