| Constructor and Description |
|---|
OrderedSet() |
OrderedSet(@NotNull CollectionHost<E> host) |
OrderedSet(int capacity) |
OrderedSet(int capacity,
@Nullable CollectionHost<E> host) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E e) |
boolean |
add(E e,
@Nullable Object o) |
boolean |
addAll(@NotNull Collection<? extends E> collection) |
void |
addNull() |
void |
addNulls(int index) |
void |
clear() |
boolean |
contains(@Nullable Object o) |
boolean |
containsAll(@NotNull Collection<?> collection) |
@NotNull BitSet |
differenceBitSet(@NotNull Iterable<? extends E> items) |
@NotNull BitSet |
differenceBitSet(@NotNull Iterator<? extends E> items) |
boolean |
equals(Object o) |
@NotNull Indexed<E> |
getConcurrentModsIndexedProxy() |
@NotNull Indexed<E> |
getIndexedProxy() |
int |
getModificationCount() |
@NotNull BitSet |
getValidIndices() |
E |
getValue(int index) |
@NotNull List<E> |
getValueList() |
E |
getValueOrNull(int index) |
int |
hashCode() |
static <T1> T1 |
ifNull(T1 o,
T1 nullValue) |
@NotNull BitSet |
indexBitSet(@NotNull Iterable<? extends E> items) |
@NotNull ReversibleIterable<Integer> |
indexIterable() |
@NotNull ReversibleIterator<Integer> |
indexIterator() |
int |
indexOf(@Nullable Object element) |
boolean |
inHostUpdate() |
boolean |
isEmpty() |
boolean |
isSparse() |
boolean |
isValidIndex(int index) |
@NotNull ReversibleIterable<E> |
iterable() |
@NotNull ReversibleIndexedIterator<E> |
iterator() |
@NotNull BitSet |
keyDifferenceBitSet(@NotNull Iterable<? extends Map.Entry<? extends E,?>> items) |
@NotNull BitSet |
keyDifferenceBitSet(@NotNull Iterator<? extends Map.Entry<? extends E,?>> items) |
boolean |
remove(@Nullable Object o) |
boolean |
removeAll(@NotNull Collection<?> collection) |
@Nullable Object |
removeHosted(@Nullable Object o) |
boolean |
removeIndex(int index) |
Object |
removeIndexHosted(int index) |
boolean |
retainAll(@NotNull Collection<?> collection) |
@NotNull ReversibleIterable<Integer> |
reversedIndexIterable() |
@NotNull ReversibleIterator<Integer> |
reversedIndexIterator() |
@NotNull ReversibleIterable<E> |
reversedIterable() |
@NotNull ReversibleIndexedIterator<E> |
reversedIterator() |
boolean |
setValueAt(int index,
E value,
@Nullable Object o) |
int |
size() |
@NotNull Object[] |
toArray() |
<T> T[] |
toArray(T[] array) |
void |
validateIndex(int index) |
@NotNull BitSet |
valueDifferenceBitSet(@NotNull Iterable<? extends Map.Entry<?,? extends E>> items) |
@NotNull BitSet |
valueDifferenceBitSet(@NotNull Iterator<? extends Map.Entry<?,? extends E>> items) |
@NotNull List<E> |
values() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitspliteratorparallelStream, removeIf, streampublic OrderedSet()
public OrderedSet(int capacity)
public OrderedSet(@NotNull
@NotNull CollectionHost<E> host)
public OrderedSet(int capacity,
@Nullable
@Nullable CollectionHost<E> host)
@NotNull public @NotNull BitSet indexBitSet(@NotNull @NotNull Iterable<? extends E> items)
@NotNull public @NotNull BitSet differenceBitSet(@NotNull @NotNull Iterable<? extends E> items)
@NotNull public @NotNull BitSet differenceBitSet(@NotNull @NotNull Iterator<? extends E> items)
@NotNull public @NotNull BitSet keyDifferenceBitSet(@NotNull @NotNull Iterable<? extends Map.Entry<? extends E,?>> items)
@NotNull public @NotNull BitSet keyDifferenceBitSet(@NotNull @NotNull Iterator<? extends Map.Entry<? extends E,?>> items)
@NotNull public @NotNull BitSet valueDifferenceBitSet(@NotNull @NotNull Iterable<? extends Map.Entry<?,? extends E>> items)
@NotNull public @NotNull BitSet valueDifferenceBitSet(@NotNull @NotNull Iterator<? extends Map.Entry<?,? extends E>> items)
public int getModificationCount()
public static <T1> T1 ifNull(T1 o,
T1 nullValue)
public boolean inHostUpdate()
public int indexOf(@Nullable
@Nullable Object element)
public boolean isValidIndex(int index)
public void validateIndex(int index)
@Nullable public E getValue(int index)
@Nullable public E getValueOrNull(int index)
public int size()
public boolean isEmpty()
public boolean contains(@Nullable
@Nullable Object o)
public boolean isSparse()
public void addNull()
public void addNulls(int index)
@NotNull public @NotNull ReversibleIterator<Integer> indexIterator()
@NotNull public @NotNull ReversibleIterator<Integer> reversedIndexIterator()
@NotNull public @NotNull ReversibleIterable<Integer> indexIterable()
@NotNull public @NotNull ReversibleIterable<Integer> reversedIndexIterable()
@NotNull public @NotNull ReversibleIndexedIterator<E> iterator()
@NotNull public @NotNull ReversibleIndexedIterator<E> reversedIterator()
@NotNull public @NotNull ReversibleIterable<E> iterable()
@NotNull public @NotNull ReversibleIterable<E> reversedIterable()
@NotNull public @NotNull Object[] toArray()
@NotNull
public <T> T[] toArray(@NotNull
T[] array)
public boolean add(@Nullable
E e)
public boolean removeIndex(int index)
public Object removeIndexHosted(int index)
public boolean remove(@Nullable
@Nullable Object o)
public boolean containsAll(@NotNull
@NotNull Collection<?> collection)
containsAll in interface Collection<E>containsAll in interface Set<E>public boolean addAll(@NotNull
@NotNull Collection<? extends E> collection)
public boolean retainAll(@NotNull
@NotNull Collection<?> collection)
public boolean removeAll(@NotNull
@NotNull Collection<?> collection)
public void clear()
public boolean equals(Object o)
public int hashCode()
@NotNull public @NotNull BitSet getValidIndices()
Copyright © 2020. All rights reserved.