Tag: Guava

  • Best way to remove duplicate items from ArrayList in Java

    Removing duplicate items from ArrayList in Java can be done in some very efficient ways using Java 8 or Guava lib for Java. Guava lib provides many efficient util classes to perform different operations on collections like creating, sorting, reversing, partitioning, etc. Removing duplicate using Guava API Here is the most efficient way to remove…

  • Create, Partition and Reverse Array List Using Guava Lists

    Guava Lists is part of the Guava core java library. It is used to perform many frequently used operations on an array lists like creation, partition, reversal, and many more. Java Guava lib is collection of very safe and handy libs for working with collection types (such as list, multimap, bimap, and multiset), immutable collections,…