+ improve RedisSet contract
This commit is contained in:
@@ -46,6 +46,8 @@ public abstract class AbstractRedisCollection extends AbstractCollection<String>
|
||||
|
||||
public abstract boolean removeAll(Collection<?> c);
|
||||
|
||||
public abstract boolean remove(Object o);
|
||||
|
||||
public boolean retainAll(Collection<?> c) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
*/
|
||||
package org.springframework.datastore.redis.util;
|
||||
|
||||
import java.util.Queue;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
@@ -24,7 +23,7 @@ import java.util.Set;
|
||||
*
|
||||
* @author Costin Leau
|
||||
*/
|
||||
public interface RedisSet extends RedisCollection, Set<String>, Queue<String> {
|
||||
public interface RedisSet extends RedisCollection, Set<String> {
|
||||
|
||||
Set<String> intersect(RedisSet... sets);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user