Class ByteArraySet
java.lang.Object
org.springframework.data.redis.connection.util.ByteArraySet
- All Implemented Interfaces:
Iterable<ByteArrayWrapper>,Collection<ByteArrayWrapper>,Set<ByteArrayWrapper>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanadd(byte[] e) booleanbooleanbooleanaddAll(Collection<? extends ByteArrayWrapper> c) Set<byte[]>asRawSet()voidclear()booleanbooleancontainsAll(Collection<?> c) booleanisEmpty()iterator()booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) intsize()Object[]toArray()<T> T[]toArray(T[] a) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.Set
equals, hashCode, spliterator
-
Constructor Details
-
ByteArraySet
public ByteArraySet() -
ByteArraySet
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfaceCollection<ByteArrayWrapper>- Specified by:
sizein interfaceSet<ByteArrayWrapper>
-
contains
- Specified by:
containsin interfaceCollection<ByteArrayWrapper>- Specified by:
containsin interfaceSet<ByteArrayWrapper>
-
add
- Specified by:
addin interfaceCollection<ByteArrayWrapper>- Specified by:
addin interfaceSet<ByteArrayWrapper>
-
add
public boolean add(byte[] e) -
containsAll
- Specified by:
containsAllin interfaceCollection<ByteArrayWrapper>- Specified by:
containsAllin interfaceSet<ByteArrayWrapper>
-
addAll
- Specified by:
addAllin interfaceCollection<ByteArrayWrapper>- Specified by:
addAllin interfaceSet<ByteArrayWrapper>
-
addAll
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<ByteArrayWrapper>- Specified by:
isEmptyin interfaceSet<ByteArrayWrapper>
-
iterator
- Specified by:
iteratorin interfaceCollection<ByteArrayWrapper>- Specified by:
iteratorin interfaceIterable<ByteArrayWrapper>- Specified by:
iteratorin interfaceSet<ByteArrayWrapper>
-
toArray
- Specified by:
toArrayin interfaceCollection<ByteArrayWrapper>- Specified by:
toArrayin interfaceSet<ByteArrayWrapper>
-
toArray
public <T> T[] toArray(T[] a) - Specified by:
toArrayin interfaceCollection<ByteArrayWrapper>- Specified by:
toArrayin interfaceSet<ByteArrayWrapper>
-
remove
- Specified by:
removein interfaceCollection<ByteArrayWrapper>- Specified by:
removein interfaceSet<ByteArrayWrapper>
-
retainAll
- Specified by:
retainAllin interfaceCollection<ByteArrayWrapper>- Specified by:
retainAllin interfaceSet<ByteArrayWrapper>
-
removeAll
- Specified by:
removeAllin interfaceCollection<ByteArrayWrapper>- Specified by:
removeAllin interfaceSet<ByteArrayWrapper>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<ByteArrayWrapper>- Specified by:
clearin interfaceSet<ByteArrayWrapper>
-
asRawSet
-