public class SortedArrayObjectSet<T extends Comparable<T>> extends Object implements Iterable<T>
Constructor and Description |
---|
SortedArrayObjectSet() |
SortedArrayObjectSet(int initialCapacity) |
public SortedArrayObjectSet()
public SortedArrayObjectSet(int initialCapacity)
protected final int bisect(T val)
protected final void insertElement(int idx)
public int size()
public boolean isEmpty()
public boolean contains(T v)
public void add(T v)
public void remove(T v)
public Iterator<T> iterator()
iterator
in interface Iterable<T extends Comparable<T>>