Tag: guava-java

  • 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…