Several of us might be familiar with the clear () API in Java collections framework. In this post, let's discuss what is the purpose of this clear() API? What is the performance impact of using this API? What happens under the JVM when this API is invoked? Video: To see the visual walk-through of this post,... Continue Reading →