public static class ShortSets.SynchronizedSet extends java.lang.Object implements ShortSet, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected it.unimi.dsi.fastutil.shorts.ShortCollection |
collection |
protected java.lang.Object |
sync |
| Modifier | Constructor and Description |
|---|---|
protected |
SynchronizedSet(ShortSet s) |
protected |
SynchronizedSet(ShortSet s,
java.lang.Object sync) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(short arg0) |
boolean |
add(java.lang.Short arg0)
Deprecated.
|
boolean |
addAll(java.util.Collection<? extends java.lang.Short> arg0) |
boolean |
addAll(it.unimi.dsi.fastutil.shorts.ShortCollection arg0) |
void |
clear() |
boolean |
contains(java.lang.Object arg0)
Deprecated.
|
boolean |
contains(short arg0) |
boolean |
containsAll(java.util.Collection<?> arg0) |
boolean |
containsAll(it.unimi.dsi.fastutil.shorts.ShortCollection arg0) |
boolean |
equals(java.lang.Object arg0) |
void |
forEach(it.unimi.dsi.fastutil.shorts.ShortConsumer 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.shorts.ShortIterator |
iterator() |
java.util.stream.Stream<java.lang.Short> |
parallelStream()
Deprecated.
|
boolean |
rem(short k)
Deprecated.
|
boolean |
remove(java.lang.Object arg0)
Deprecated.
|
boolean |
remove(short k)
Removes an element from this set.
|
boolean |
removeAll(java.util.Collection<?> arg0) |
boolean |
removeAll(it.unimi.dsi.fastutil.shorts.ShortCollection arg0) |
boolean |
removeIf(it.unimi.dsi.fastutil.shorts.ShortPredicate arg0) |
boolean |
retainAll(java.util.Collection<?> arg0) |
boolean |
retainAll(it.unimi.dsi.fastutil.shorts.ShortCollection arg0) |
int |
size() |
it.unimi.dsi.fastutil.shorts.ShortSpliterator |
spliterator() |
java.util.stream.Stream<java.lang.Short> |
stream()
Deprecated.
|
java.lang.Object[] |
toArray() |
short[] |
toArray(short[] arg0) |
<T> T[] |
toArray(T[] arg0) |
short[] |
toShortArray() |
short[] |
toShortArray(short[] 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, intIterator, intParallelStream, intSpliterator, intStream, parallelStream, removeAll, removeIf, removeIf, removeIf, retainAll, stream, toArray, toShortArray, toShortArrayprotected final it.unimi.dsi.fastutil.shorts.ShortCollection collection
protected final java.lang.Object sync
protected SynchronizedSet(ShortSet s, java.lang.Object sync)
protected SynchronizedSet(ShortSet s)
public boolean remove(short k)
ShortSet@Deprecated public boolean rem(short k)
ShortSetThis 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(short arg0)
add in interface it.unimi.dsi.fastutil.shorts.ShortCollectionpublic boolean contains(short arg0)
contains in interface it.unimi.dsi.fastutil.shorts.ShortCollectionpublic int size()
size in interface java.util.Collection<java.lang.Short>public boolean isEmpty()
isEmpty in interface java.util.Collection<java.lang.Short>public short[] toShortArray()
toShortArray in interface it.unimi.dsi.fastutil.shorts.ShortCollectionpublic java.lang.Object[] toArray()
toArray in interface java.util.Collection<java.lang.Short>@Deprecated public short[] toShortArray(short[] arg0)
toShortArray in interface it.unimi.dsi.fastutil.shorts.ShortCollectionpublic short[] toArray(short[] arg0)
toArray in interface it.unimi.dsi.fastutil.shorts.ShortCollectionpublic boolean addAll(it.unimi.dsi.fastutil.shorts.ShortCollection arg0)
addAll in interface it.unimi.dsi.fastutil.shorts.ShortCollectionpublic boolean containsAll(it.unimi.dsi.fastutil.shorts.ShortCollection arg0)
containsAll in interface it.unimi.dsi.fastutil.shorts.ShortCollectionpublic boolean removeAll(it.unimi.dsi.fastutil.shorts.ShortCollection arg0)
removeAll in interface it.unimi.dsi.fastutil.shorts.ShortCollectionpublic boolean retainAll(it.unimi.dsi.fastutil.shorts.ShortCollection arg0)
retainAll in interface it.unimi.dsi.fastutil.shorts.ShortCollection@Deprecated public boolean add(java.lang.Short arg0)
add in interface it.unimi.dsi.fastutil.shorts.ShortCollectionadd in interface java.util.Collection<java.lang.Short>@Deprecated public boolean contains(java.lang.Object arg0)
contains in interface it.unimi.dsi.fastutil.shorts.ShortCollectioncontains in interface java.util.Collection<java.lang.Short>@Deprecated public boolean remove(java.lang.Object arg0)
remove in interface it.unimi.dsi.fastutil.shorts.ShortCollectionremove in interface java.util.Collection<java.lang.Short>public it.unimi.dsi.fastutil.ints.IntIterator intIterator()
intIterator in interface it.unimi.dsi.fastutil.shorts.ShortCollectionintIterator in interface it.unimi.dsi.fastutil.shorts.ShortIterablepublic it.unimi.dsi.fastutil.ints.IntSpliterator intSpliterator()
intSpliterator in interface it.unimi.dsi.fastutil.shorts.ShortCollectionintSpliterator in interface it.unimi.dsi.fastutil.shorts.ShortIterablepublic java.util.stream.IntStream intStream()
intStream in interface it.unimi.dsi.fastutil.shorts.ShortCollectionpublic java.util.stream.IntStream intParallelStream()
intParallelStream in interface it.unimi.dsi.fastutil.shorts.ShortCollectionpublic <T> T[] toArray(T[] arg0)
toArray in interface java.util.Collection<java.lang.Short>public it.unimi.dsi.fastutil.shorts.ShortIterator iterator()
iterator in interface it.unimi.dsi.fastutil.shorts.ShortCollectioniterator in interface it.unimi.dsi.fastutil.shorts.ShortIterableiterator in interface java.lang.Iterable<java.lang.Short>iterator in interface java.util.Collection<java.lang.Short>public it.unimi.dsi.fastutil.shorts.ShortSpliterator spliterator()
spliterator in interface it.unimi.dsi.fastutil.shorts.ShortCollectionspliterator in interface it.unimi.dsi.fastutil.shorts.ShortIterablespliterator in interface java.lang.Iterable<java.lang.Short>spliterator in interface java.util.Collection<java.lang.Short>@Deprecated public java.util.stream.Stream<java.lang.Short> stream()
stream in interface it.unimi.dsi.fastutil.shorts.ShortCollectionstream in interface java.util.Collection<java.lang.Short>@Deprecated public java.util.stream.Stream<java.lang.Short> parallelStream()
parallelStream in interface it.unimi.dsi.fastutil.shorts.ShortCollectionparallelStream in interface java.util.Collection<java.lang.Short>public void forEach(it.unimi.dsi.fastutil.shorts.ShortConsumer arg0)
forEach in interface it.unimi.dsi.fastutil.shorts.ShortIterablepublic boolean addAll(java.util.Collection<? extends java.lang.Short> arg0)
addAll in interface java.util.Collection<java.lang.Short>public boolean containsAll(java.util.Collection<?> arg0)
containsAll in interface java.util.Collection<java.lang.Short>public boolean removeAll(java.util.Collection<?> arg0)
removeAll in interface java.util.Collection<java.lang.Short>public boolean retainAll(java.util.Collection<?> arg0)
retainAll in interface java.util.Collection<java.lang.Short>public boolean removeIf(it.unimi.dsi.fastutil.shorts.ShortPredicate arg0)
removeIf in interface it.unimi.dsi.fastutil.shorts.ShortCollectionpublic void clear()
clear in interface java.util.Collection<java.lang.Short>public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in interface java.util.Collection<java.lang.Short>hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object arg0)
equals in interface java.util.Collection<java.lang.Short>equals in class java.lang.Object