类 ByteArraySet
- java.lang.Object
-
- java.util.AbstractCollection<byte[]>
-
- com.moilioncircle.redis.replicator.util.ByteArraySet
-
- 所有已实现的接口:
Serializable
,Iterable<byte[]>
,Collection<byte[]>
,Set<byte[]>
public class ByteArraySet extends AbstractCollection<byte[]> implements Set<byte[]>, Serializable
- 从以下版本开始:
- 3.0.0
- 作者:
- Leon Chen
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 ByteArraySet()
ByteArraySet(boolean ordered)
ByteArraySet(boolean ordered, int initialCapacity)
ByteArraySet(boolean ordered, int initialCapacity, float loadFactor)
ByteArraySet(boolean ordered, Set<? extends byte[]> m)
ByteArraySet(Set<? extends byte[]> m)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 boolean
add(byte[] e)
void
clear()
boolean
contains(Object o)
boolean
isEmpty()
Iterator<byte[]>
iterator()
boolean
remove(Object o)
int
size()
-
从类继承的方法 java.util.AbstractCollection
addAll, containsAll, removeAll, retainAll, toArray, toArray, toString
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
从接口继承的方法 java.util.Collection
parallelStream, removeIf, stream, toArray
-
从接口继承的方法 java.util.Set
addAll, containsAll, equals, hashCode, removeAll, retainAll, spliterator, toArray, toArray
-
-
-
-
构造器详细资料
-
ByteArraySet
public ByteArraySet(Set<? extends byte[]> m)
-
ByteArraySet
public ByteArraySet(boolean ordered, Set<? extends byte[]> m)
-
ByteArraySet
public ByteArraySet()
-
ByteArraySet
public ByteArraySet(boolean ordered)
-
ByteArraySet
public ByteArraySet(boolean ordered, int initialCapacity)
-
ByteArraySet
public ByteArraySet(boolean ordered, int initialCapacity, float loadFactor)
-
-
方法详细资料
-
iterator
public Iterator<byte[]> iterator()
- 指定者:
iterator
在接口中Collection<byte[]>
- 指定者:
iterator
在接口中Iterable<byte[]>
- 指定者:
iterator
在接口中Set<byte[]>
- 指定者:
iterator
在类中AbstractCollection<byte[]>
-
size
public int size()
- 指定者:
size
在接口中Collection<byte[]>
- 指定者:
size
在接口中Set<byte[]>
- 指定者:
size
在类中AbstractCollection<byte[]>
-
isEmpty
public boolean isEmpty()
- 指定者:
isEmpty
在接口中Collection<byte[]>
- 指定者:
isEmpty
在接口中Set<byte[]>
- 覆盖:
isEmpty
在类中AbstractCollection<byte[]>
-
contains
public boolean contains(Object o)
- 指定者:
contains
在接口中Collection<byte[]>
- 指定者:
contains
在接口中Set<byte[]>
- 覆盖:
contains
在类中AbstractCollection<byte[]>
-
add
public boolean add(byte[] e)
- 指定者:
add
在接口中Collection<byte[]>
- 指定者:
add
在接口中Set<byte[]>
- 覆盖:
add
在类中AbstractCollection<byte[]>
-
remove
public boolean remove(Object o)
- 指定者:
remove
在接口中Collection<byte[]>
- 指定者:
remove
在接口中Set<byte[]>
- 覆盖:
remove
在类中AbstractCollection<byte[]>
-
clear
public void clear()
- 指定者:
clear
在接口中Collection<byte[]>
- 指定者:
clear
在接口中Set<byte[]>
- 覆盖:
clear
在类中AbstractCollection<byte[]>
-
-