Class BuilderFactory.SetFromList<E>

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
redis.clients.jedis.BuilderFactory.SetFromList<E>
All Implemented Interfaces:
Serializable, Iterable<E>, Collection<E>, Set<E>
Enclosing class:
BuilderFactory

protected static class BuilderFactory.SetFromList<E> extends AbstractSet<E> implements Serializable
A decorator to implement Set from List. Assume that given List do not contains duplicated values. The resulting set displays the same ordering, concurrency, and performance characteristics as the backing list. This class should be used only for Redis commands which return Set result.
See Also: