Class SetFromCollectionUnsafe<T>

java.lang.Object
java.util.AbstractCollection<T>
java.util.AbstractSet<T>
org.aksw.commons.collections.sets.SetFromCollectionUnsafe<T>
All Implemented Interfaces:
Iterable<T>, Collection<T>, Set<T>

public class SetFromCollectionUnsafe<T> extends AbstractSet<T>
In contrast to SetFromCollection, the unsafe version does not handle duplicates in the backend collection. Only use the unsafe version if the uniqueness of items in the backend is ensured. This class simply delegates calls to iterator() and size() to the backend.
Author:
raven