Java TreeSet

GPTKB entity

Statements (36)
Predicate Object
gptkbp:instanceOf gptkb:class
gptkbp:allows null elements (if comparator allows)
gptkbp:compatibleWith duplicate elements
gptkbp:complexity O(log n) for add, remove, contains
gptkbp:documentation https://docs.oracle.com/javase/8/docs/api/java/util/TreeSet.html
gptkbp:extendsTo gptkb:AbstractSet
gptkbp:genericType TreeSet<E>
gptkbp:hasMethod gptkb:building
gptkb:ground
first
higher
last
add
lower
iterator
contains
remove
descendingIterator
headSet
pollFirst
pollLast
subSet
tailSet
gptkbp:heldBy not synchronized
https://www.w3.org/2000/01/rdf-schema#label Java TreeSet
gptkbp:implementedIn gptkb:Cloneable
gptkb:NavigableSet
Serializable
gptkbp:introducedIn gptkb:Java_1.2
gptkbp:partOf gptkb:Java_Collections_Framework
gptkbp:storesElements sorted order
gptkbp:supportedBy gptkb:TreeMap
gptkbp:type java.util
gptkbp:usedFor sorted unique collections
gptkbp:bfsParent gptkb:red-black_tree
gptkbp:bfsLayer 7