Class ByteArraySet
java.lang.Object
org.springframework.data.redis.connection.util.ByteArraySet
- All Implemented Interfaces:
Iterable<ByteArrayWrapper>
,Collection<ByteArrayWrapper>
,Set<ByteArrayWrapper>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
add
(byte[] e) boolean
boolean
boolean
addAll
(Collection<? extends ByteArrayWrapper> c) Set<byte[]>
asRawSet()
void
clear()
boolean
boolean
containsAll
(Collection<?> c) boolean
isEmpty()
iterator()
boolean
boolean
removeAll
(Collection<?> c) boolean
retainAll
(Collection<?> c) int
size()
Object[]
toArray()
<T> T[]
toArray
(T[] a) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.Set
equals, hashCode, spliterator
-
Constructor Details
-
ByteArraySet
public ByteArraySet() -
ByteArraySet
-
-
Method Details
-
size
public int size()- Specified by:
size
in interfaceCollection<ByteArrayWrapper>
- Specified by:
size
in interfaceSet<ByteArrayWrapper>
-
contains
- Specified by:
contains
in interfaceCollection<ByteArrayWrapper>
- Specified by:
contains
in interfaceSet<ByteArrayWrapper>
-
add
- Specified by:
add
in interfaceCollection<ByteArrayWrapper>
- Specified by:
add
in interfaceSet<ByteArrayWrapper>
-
add
public boolean add(byte[] e) -
containsAll
- Specified by:
containsAll
in interfaceCollection<ByteArrayWrapper>
- Specified by:
containsAll
in interfaceSet<ByteArrayWrapper>
-
addAll
- Specified by:
addAll
in interfaceCollection<ByteArrayWrapper>
- Specified by:
addAll
in interfaceSet<ByteArrayWrapper>
-
addAll
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceCollection<ByteArrayWrapper>
- Specified by:
isEmpty
in interfaceSet<ByteArrayWrapper>
-
iterator
- Specified by:
iterator
in interfaceCollection<ByteArrayWrapper>
- Specified by:
iterator
in interfaceIterable<ByteArrayWrapper>
- Specified by:
iterator
in interfaceSet<ByteArrayWrapper>
-
toArray
- Specified by:
toArray
in interfaceCollection<ByteArrayWrapper>
- Specified by:
toArray
in interfaceSet<ByteArrayWrapper>
-
toArray
public <T> T[] toArray(T[] a) - Specified by:
toArray
in interfaceCollection<ByteArrayWrapper>
- Specified by:
toArray
in interfaceSet<ByteArrayWrapper>
-
remove
- Specified by:
remove
in interfaceCollection<ByteArrayWrapper>
- Specified by:
remove
in interfaceSet<ByteArrayWrapper>
-
retainAll
- Specified by:
retainAll
in interfaceCollection<ByteArrayWrapper>
- Specified by:
retainAll
in interfaceSet<ByteArrayWrapper>
-
removeAll
- Specified by:
removeAll
in interfaceCollection<ByteArrayWrapper>
- Specified by:
removeAll
in interfaceSet<ByteArrayWrapper>
-
clear
public void clear()- Specified by:
clear
in interfaceCollection<ByteArrayWrapper>
- Specified by:
clear
in interfaceSet<ByteArrayWrapper>
-
asRawSet
-