public interface Iterable<T>
- default void forEach(Consumer<super ? E> action)
- Iterator<T> iterator()
- default<T> Spliterator spliterator()
public interface Set<E> extends Collection<E>
Set's methods have exactly the same signatures as those of Collection, however, the intended methods implementation is different. Set methods' javadoc is more specific for a collection that can not have duplicate elements.
Set's methods have exactly the same signatures as those of Collection, however, the intended methods implementation is different. Set methods' javadoc is more specific for a collection that can not have duplicate elements.