public class AvlTreeSet<T extends Comparable<T>> extends Object implements Iterable<T>
| Constructor and Description |
|---|
AvlTreeSet() |
AvlTreeSet(boolean useFreeList) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(T value) |
int |
height() |
boolean |
insert(T value) |
Iterator<T> |
iterator() |
boolean |
remove(T value) |
int |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic final int height()
public final int size()
public final Iterator<T> iterator()
iterator in interface Iterable<T extends Comparable<T>>public final boolean insert(T value)
public final boolean remove(T value)
public final boolean contains(T value)
Copyright © 2021. All rights reserved.