public class OrderedSet<T>
extends java.util.ArrayList<T>
implements java.util.Set<T>, java.util.RandomAccess
Constructor and Description |
---|
OrderedSet() |
OrderedSet(<any> hashingStrategy) |
OrderedSet(<any> hashingStrategy,
int capacity) |
OrderedSet(java.util.Collection<? extends T> set) |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
T element) |
boolean |
add(T o) |
boolean |
addAll(java.util.Collection<? extends T> c) |
boolean |
addAll(int index,
java.util.Collection<? extends T> c) |
void |
clear() |
boolean |
contains(java.lang.Object o) |
int |
indexOf(java.lang.Object o) |
int |
lastIndexOf(java.lang.Object o) |
T |
remove(int index) |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
boolean |
retainAll(java.util.Collection<?> c) |
T |
set(int index,
T element) |
java.util.List<T> |
subList(int fromIndex,
int toIndex) |
clone, ensureCapacity, forEach, get, isEmpty, iterator, listIterator, listIterator, removeIf, removeRange, replaceAll, size, sort, spliterator, toArray, toArray, trimToSize
finalize, getClass, notify, notifyAll, wait, wait, wait
public OrderedSet()
public OrderedSet(java.util.Collection<? extends T> set)
public OrderedSet(<any> hashingStrategy)
public OrderedSet(<any> hashingStrategy, int capacity)
public boolean removeAll(java.util.Collection<?> c)
public boolean retainAll(java.util.Collection<?> c)
public java.util.List<T> subList(int fromIndex, int toIndex)
public boolean contains(java.lang.Object o)
public boolean addAll(java.util.Collection<? extends T> c)
public boolean add(T o)
public boolean remove(java.lang.Object o)
public void clear()
public boolean addAll(int index, java.util.Collection<? extends T> c)
public void add(int index, T element)
public T remove(int index)
public int indexOf(java.lang.Object o)