public class BisectQueue<T> implements SortedQueue<T>
Modifier and Type | Field and Description |
---|---|
Fun_0_2 <T,T,Int> |
comparator
Field Type: (T,T)=>Int
|
List<T> |
list |
Constructor and Description |
---|
BisectQueue(Fun_0_2 <T,T,Int> comparator)
Declaration: this(comparator:(T,T)=>Int):cassia.util.BisectQueue[T].
|
Modifier and Type | Method and Description |
---|---|
Boolean |
add(T x) |
Long |
bisect(T x) |
Boolean |
contains(T x) |
ListIterator<T> |
iterator() |
static void |
main(Rail<String> id$30) |
T |
operator()(Long i) |
T |
peek() |
T |
pop() |
Boolean |
push(T x) |
Boolean |
remove(T x) |
Boolean |
removeAllWhere(Fun_0_1 <T,Boolean> p)
Declaration: removeAllWhere(p:(T)=>Boolean):Boolean.
|
Long |
size() |
List<T> |
subList(Long begin,
Long end) |
List<T> |
toList() |
public List<T> list
public Boolean push(T x)
public T pop()
public T peek()
public Boolean add(T x)
public Boolean remove(T x)
public Boolean removeAllWhere(Fun_0_1 <T,Boolean> p)
public Long size()
public Boolean contains(T x)
public ListIterator<T> iterator()
public List<T> toList()
public T operator()(Long i)
public List<T> subList(Long begin, Long end)
public Long bisect(T x)
public static void main(Rail<String> id$30)