import collections in java

Java
import java.util.Collection;
Source

Also in Java: