public static class BooleanSets.SynchronizedSet extends java.lang.Object implements BooleanSet, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected it.unimi.dsi.fastutil.booleans.BooleanCollection |
collection |
protected java.lang.Object |
sync |
| Modifier | Constructor and Description |
|---|---|
protected |
SynchronizedSet(BooleanSet s) |
protected |
SynchronizedSet(BooleanSet s,
java.lang.Object sync) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(boolean arg0) |
boolean |
add(java.lang.Boolean arg0)
Deprecated.
|
boolean |
addAll(it.unimi.dsi.fastutil.booleans.BooleanCollection arg0) |
boolean |
addAll(java.util.Collection<? extends java.lang.Boolean> arg0) |
void |
clear() |
boolean |
contains(boolean arg0) |
boolean |
contains(java.lang.Object arg0)
Deprecated.
|
boolean |
containsAll(it.unimi.dsi.fastutil.booleans.BooleanCollection arg0) |
boolean |
containsAll(java.util.Collection<?> arg0) |
boolean |
equals(java.lang.Object arg0) |
void |
forEach(it.unimi.dsi.fastutil.booleans.BooleanConsumer arg0) |
int |
hashCode() |
boolean |
isEmpty() |
it.unimi.dsi.fastutil.booleans.BooleanIterator |
iterator() |
java.util.stream.Stream<java.lang.Boolean> |
parallelStream() |
boolean |
rem(boolean k)
Deprecated.
|
boolean |
remove(boolean k)
Removes an element from this set.
|
boolean |
remove(java.lang.Object arg0)
Deprecated.
|
boolean |
removeAll(it.unimi.dsi.fastutil.booleans.BooleanCollection arg0) |
boolean |
removeAll(java.util.Collection<?> arg0) |
boolean |
removeIf(it.unimi.dsi.fastutil.booleans.BooleanPredicate arg0) |
boolean |
retainAll(it.unimi.dsi.fastutil.booleans.BooleanCollection arg0) |
boolean |
retainAll(java.util.Collection<?> arg0) |
int |
size() |
it.unimi.dsi.fastutil.booleans.BooleanSpliterator |
spliterator() |
java.util.stream.Stream<java.lang.Boolean> |
stream() |
java.lang.Object[] |
toArray() |
boolean[] |
toArray(boolean[] arg0) |
<T> T[] |
toArray(T[] arg0) |
boolean[] |
toBooleanArray() |
boolean[] |
toBooleanArray(boolean[] arg0)
Deprecated.
|
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, contains, iterator, of, of, of, of, of, remove, spliteratoradd, addAll, contains, containsAll, removeAll, removeIf, removeIf, retainAll, toArray, toBooleanArray, toBooleanArrayprotected final it.unimi.dsi.fastutil.booleans.BooleanCollection collection
protected final java.lang.Object sync
protected SynchronizedSet(BooleanSet s, java.lang.Object sync)
protected SynchronizedSet(BooleanSet s)
public boolean remove(boolean k)
BooleanSetremove in interface BooleanSetCollection.remove(Object)@Deprecated public boolean rem(boolean k)
BooleanSetThis 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.
rem in interface it.unimi.dsi.fastutil.booleans.BooleanCollectionrem in interface BooleanSetpublic boolean add(boolean arg0)
add in interface it.unimi.dsi.fastutil.booleans.BooleanCollectionpublic boolean contains(boolean arg0)
contains in interface it.unimi.dsi.fastutil.booleans.BooleanCollectionpublic int size()
size in interface java.util.Collection<java.lang.Boolean>public boolean isEmpty()
isEmpty in interface java.util.Collection<java.lang.Boolean>public boolean[] toBooleanArray()
toBooleanArray in interface it.unimi.dsi.fastutil.booleans.BooleanCollectionpublic java.lang.Object[] toArray()
toArray in interface java.util.Collection<java.lang.Boolean>@Deprecated public boolean[] toBooleanArray(boolean[] arg0)
toBooleanArray in interface it.unimi.dsi.fastutil.booleans.BooleanCollectionpublic boolean[] toArray(boolean[] arg0)
toArray in interface it.unimi.dsi.fastutil.booleans.BooleanCollectionpublic boolean addAll(it.unimi.dsi.fastutil.booleans.BooleanCollection arg0)
addAll in interface it.unimi.dsi.fastutil.booleans.BooleanCollectionpublic boolean containsAll(it.unimi.dsi.fastutil.booleans.BooleanCollection arg0)
containsAll in interface it.unimi.dsi.fastutil.booleans.BooleanCollectionpublic boolean removeAll(it.unimi.dsi.fastutil.booleans.BooleanCollection arg0)
removeAll in interface it.unimi.dsi.fastutil.booleans.BooleanCollectionpublic boolean retainAll(it.unimi.dsi.fastutil.booleans.BooleanCollection arg0)
retainAll in interface it.unimi.dsi.fastutil.booleans.BooleanCollection@Deprecated public boolean add(java.lang.Boolean arg0)
add in interface it.unimi.dsi.fastutil.booleans.BooleanCollectionadd in interface java.util.Collection<java.lang.Boolean>@Deprecated public boolean contains(java.lang.Object arg0)
contains in interface it.unimi.dsi.fastutil.booleans.BooleanCollectioncontains in interface java.util.Collection<java.lang.Boolean>@Deprecated public boolean remove(java.lang.Object arg0)
remove in interface it.unimi.dsi.fastutil.booleans.BooleanCollectionremove in interface java.util.Collection<java.lang.Boolean>public <T> T[] toArray(T[] arg0)
toArray in interface java.util.Collection<java.lang.Boolean>public it.unimi.dsi.fastutil.booleans.BooleanIterator iterator()
iterator in interface it.unimi.dsi.fastutil.booleans.BooleanCollectioniterator in interface it.unimi.dsi.fastutil.booleans.BooleanIterableiterator in interface java.lang.Iterable<java.lang.Boolean>iterator in interface java.util.Collection<java.lang.Boolean>public it.unimi.dsi.fastutil.booleans.BooleanSpliterator spliterator()
spliterator in interface it.unimi.dsi.fastutil.booleans.BooleanCollectionspliterator in interface it.unimi.dsi.fastutil.booleans.BooleanIterablespliterator in interface java.lang.Iterable<java.lang.Boolean>spliterator in interface java.util.Collection<java.lang.Boolean>public java.util.stream.Stream<java.lang.Boolean> stream()
stream in interface java.util.Collection<java.lang.Boolean>public java.util.stream.Stream<java.lang.Boolean> parallelStream()
parallelStream in interface java.util.Collection<java.lang.Boolean>public void forEach(it.unimi.dsi.fastutil.booleans.BooleanConsumer arg0)
forEach in interface it.unimi.dsi.fastutil.booleans.BooleanIterablepublic boolean addAll(java.util.Collection<? extends java.lang.Boolean> arg0)
addAll in interface java.util.Collection<java.lang.Boolean>public boolean containsAll(java.util.Collection<?> arg0)
containsAll in interface java.util.Collection<java.lang.Boolean>public boolean removeAll(java.util.Collection<?> arg0)
removeAll in interface java.util.Collection<java.lang.Boolean>public boolean retainAll(java.util.Collection<?> arg0)
retainAll in interface java.util.Collection<java.lang.Boolean>public boolean removeIf(it.unimi.dsi.fastutil.booleans.BooleanPredicate arg0)
removeIf in interface it.unimi.dsi.fastutil.booleans.BooleanCollectionpublic void clear()
clear in interface java.util.Collection<java.lang.Boolean>public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in interface java.util.Collection<java.lang.Boolean>hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object arg0)
equals in interface java.util.Collection<java.lang.Boolean>equals in class java.lang.Object