public static class ByteSets.SynchronizedSet extends java.lang.Object implements ByteSet, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected it.unimi.dsi.fastutil.bytes.ByteCollection |
collection |
protected java.lang.Object |
sync |
| Modifier | Constructor and Description |
|---|---|
protected |
SynchronizedSet(ByteSet s) |
protected |
SynchronizedSet(ByteSet s,
java.lang.Object sync) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(byte arg0) |
boolean |
add(java.lang.Byte arg0)
Deprecated.
|
boolean |
addAll(it.unimi.dsi.fastutil.bytes.ByteCollection arg0) |
boolean |
addAll(java.util.Collection<? extends java.lang.Byte> arg0) |
void |
clear() |
boolean |
contains(byte arg0) |
boolean |
contains(java.lang.Object arg0)
Deprecated.
|
boolean |
containsAll(it.unimi.dsi.fastutil.bytes.ByteCollection arg0) |
boolean |
containsAll(java.util.Collection<?> arg0) |
boolean |
equals(java.lang.Object arg0) |
void |
forEach(it.unimi.dsi.fastutil.bytes.ByteConsumer arg0) |
int |
hashCode() |
it.unimi.dsi.fastutil.ints.IntIterator |
intIterator() |
java.util.stream.IntStream |
intParallelStream() |
it.unimi.dsi.fastutil.ints.IntSpliterator |
intSpliterator() |
java.util.stream.IntStream |
intStream() |
boolean |
isEmpty() |
it.unimi.dsi.fastutil.bytes.ByteIterator |
iterator() |
java.util.stream.Stream<java.lang.Byte> |
parallelStream()
Deprecated.
|
boolean |
rem(byte k)
Deprecated.
|
boolean |
remove(byte k)
Removes an element from this set.
|
boolean |
remove(java.lang.Object arg0)
Deprecated.
|
boolean |
removeAll(it.unimi.dsi.fastutil.bytes.ByteCollection arg0) |
boolean |
removeAll(java.util.Collection<?> arg0) |
boolean |
removeIf(it.unimi.dsi.fastutil.bytes.BytePredicate arg0) |
boolean |
retainAll(it.unimi.dsi.fastutil.bytes.ByteCollection arg0) |
boolean |
retainAll(java.util.Collection<?> arg0) |
int |
size() |
it.unimi.dsi.fastutil.bytes.ByteSpliterator |
spliterator() |
java.util.stream.Stream<java.lang.Byte> |
stream()
Deprecated.
|
java.lang.Object[] |
toArray() |
byte[] |
toArray(byte[] arg0) |
<T> T[] |
toArray(T[] arg0) |
byte[] |
toByteArray() |
byte[] |
toByteArray(byte[] arg0)
Deprecated.
|
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, contains, iterator, of, of, of, of, of, remove, spliteratorprotected final it.unimi.dsi.fastutil.bytes.ByteCollection collection
protected final java.lang.Object sync
protected SynchronizedSet(ByteSet s, java.lang.Object sync)
protected SynchronizedSet(ByteSet s)
public boolean remove(byte k)
ByteSet@Deprecated public boolean rem(byte k)
ByteSetThis method is inherited from the type-specific collection this
type-specific set is based on, but it should not used as
this interface reinstates remove() as removal method.
public boolean add(byte arg0)
add in interface it.unimi.dsi.fastutil.bytes.ByteCollectionpublic boolean contains(byte arg0)
contains in interface it.unimi.dsi.fastutil.bytes.ByteCollectionpublic int size()
size in interface java.util.Collection<java.lang.Byte>public boolean isEmpty()
isEmpty in interface java.util.Collection<java.lang.Byte>public byte[] toByteArray()
toByteArray in interface it.unimi.dsi.fastutil.bytes.ByteCollectionpublic java.lang.Object[] toArray()
toArray in interface java.util.Collection<java.lang.Byte>@Deprecated public byte[] toByteArray(byte[] arg0)
toByteArray in interface it.unimi.dsi.fastutil.bytes.ByteCollectionpublic byte[] toArray(byte[] arg0)
toArray in interface it.unimi.dsi.fastutil.bytes.ByteCollectionpublic boolean addAll(it.unimi.dsi.fastutil.bytes.ByteCollection arg0)
addAll in interface it.unimi.dsi.fastutil.bytes.ByteCollectionpublic boolean containsAll(it.unimi.dsi.fastutil.bytes.ByteCollection arg0)
containsAll in interface it.unimi.dsi.fastutil.bytes.ByteCollectionpublic boolean removeAll(it.unimi.dsi.fastutil.bytes.ByteCollection arg0)
removeAll in interface it.unimi.dsi.fastutil.bytes.ByteCollectionpublic boolean retainAll(it.unimi.dsi.fastutil.bytes.ByteCollection arg0)
retainAll in interface it.unimi.dsi.fastutil.bytes.ByteCollection@Deprecated public boolean add(java.lang.Byte arg0)
add in interface it.unimi.dsi.fastutil.bytes.ByteCollectionadd in interface java.util.Collection<java.lang.Byte>@Deprecated public boolean contains(java.lang.Object arg0)
contains in interface it.unimi.dsi.fastutil.bytes.ByteCollectioncontains in interface java.util.Collection<java.lang.Byte>@Deprecated public boolean remove(java.lang.Object arg0)
remove in interface it.unimi.dsi.fastutil.bytes.ByteCollectionremove in interface java.util.Collection<java.lang.Byte>public it.unimi.dsi.fastutil.ints.IntIterator intIterator()
intIterator in interface it.unimi.dsi.fastutil.bytes.ByteCollectionintIterator in interface it.unimi.dsi.fastutil.bytes.ByteIterablepublic it.unimi.dsi.fastutil.ints.IntSpliterator intSpliterator()
intSpliterator in interface it.unimi.dsi.fastutil.bytes.ByteCollectionintSpliterator in interface it.unimi.dsi.fastutil.bytes.ByteIterablepublic java.util.stream.IntStream intStream()
intStream in interface it.unimi.dsi.fastutil.bytes.ByteCollectionpublic java.util.stream.IntStream intParallelStream()
intParallelStream in interface it.unimi.dsi.fastutil.bytes.ByteCollectionpublic <T> T[] toArray(T[] arg0)
toArray in interface java.util.Collection<java.lang.Byte>public it.unimi.dsi.fastutil.bytes.ByteIterator iterator()
iterator in interface it.unimi.dsi.fastutil.bytes.ByteCollectioniterator in interface it.unimi.dsi.fastutil.bytes.ByteIterableiterator in interface java.lang.Iterable<java.lang.Byte>iterator in interface java.util.Collection<java.lang.Byte>public it.unimi.dsi.fastutil.bytes.ByteSpliterator spliterator()
spliterator in interface it.unimi.dsi.fastutil.bytes.ByteCollectionspliterator in interface it.unimi.dsi.fastutil.bytes.ByteIterablespliterator in interface java.lang.Iterable<java.lang.Byte>spliterator in interface java.util.Collection<java.lang.Byte>@Deprecated public java.util.stream.Stream<java.lang.Byte> stream()
stream in interface it.unimi.dsi.fastutil.bytes.ByteCollectionstream in interface java.util.Collection<java.lang.Byte>@Deprecated public java.util.stream.Stream<java.lang.Byte> parallelStream()
parallelStream in interface it.unimi.dsi.fastutil.bytes.ByteCollectionparallelStream in interface java.util.Collection<java.lang.Byte>public void forEach(it.unimi.dsi.fastutil.bytes.ByteConsumer arg0)
forEach in interface it.unimi.dsi.fastutil.bytes.ByteIterablepublic boolean addAll(java.util.Collection<? extends java.lang.Byte> arg0)
addAll in interface java.util.Collection<java.lang.Byte>public boolean containsAll(java.util.Collection<?> arg0)
containsAll in interface java.util.Collection<java.lang.Byte>public boolean removeAll(java.util.Collection<?> arg0)
removeAll in interface java.util.Collection<java.lang.Byte>public boolean retainAll(java.util.Collection<?> arg0)
retainAll in interface java.util.Collection<java.lang.Byte>public boolean removeIf(it.unimi.dsi.fastutil.bytes.BytePredicate arg0)
removeIf in interface it.unimi.dsi.fastutil.bytes.ByteCollectionpublic void clear()
clear in interface java.util.Collection<java.lang.Byte>public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in interface java.util.Collection<java.lang.Byte>hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object arg0)
equals in interface java.util.Collection<java.lang.Byte>equals in class java.lang.Object