Classes Files

Wombat::Containers::TreeSet

Inherits from Wombat.Containers.SortedSet, ICloneable, Wombat.Containers.Set, Wombat.Containers.Collection, Wombat.Containers.Iterable

Public Functions

  Name
  TreeSet()
  TreeSet(Comparator c)
  TreeSet(Collection c)
  TreeSet(SortedSet s)
Comparator comparator()
SortedSet subSet(object from, object to)
SortedSet headSet(object to)
SortedSet tailSet(object from)
object first()
object last()
int size()
bool isEmpty()
bool contains(object o)
object[] toArray()
bool add(object o)
bool remove(object o)
bool containsAll(Collection c)
bool addAll(Collection c)
bool removeAll(Collection c)
bool retainAll(Collection c)
void clear()
Iterator iterator()
object Clone()
Creates a deep clone of this TreeSet

Public Functions Documentation

function TreeSet

TreeSet()

function TreeSet

TreeSet(
    Comparator c
)

function TreeSet

TreeSet(
    Collection c
)

function TreeSet

TreeSet(
    SortedSet s
)

function comparator

Comparator comparator()

Reimplements: Wombat::Containers::SortedSet::comparator

function subSet

SortedSet subSet(
    object from,
    object to
)

Reimplements: Wombat::Containers::SortedSet::subSet

function headSet

SortedSet headSet(
    object to
)

Reimplements: Wombat::Containers::SortedSet::headSet

function tailSet

SortedSet tailSet(
    object from
)

Reimplements: Wombat::Containers::SortedSet::tailSet

function first

object first()

Reimplements: Wombat::Containers::SortedSet::first

function last

object last()

Reimplements: Wombat::Containers::SortedSet::last

function size

int size()

Reimplements: Wombat::Containers::Collection::size

function isEmpty

bool isEmpty()

Reimplements: Wombat::Containers::Collection::isEmpty

function contains

bool contains(
    object o
)

Reimplements: Wombat::Containers::Collection::contains

function toArray

object[] toArray()

Reimplements: Wombat::Containers::Collection::toArray

function add

bool add(
    object o
)

Reimplements: Wombat::Containers::Collection::add

function remove

bool remove(
    object o
)

Reimplements: Wombat::Containers::Collection::remove

function containsAll

bool containsAll(
    Collection c
)

Reimplements: Wombat::Containers::Collection::containsAll

function addAll

bool addAll(
    Collection c
)

Reimplements: Wombat::Containers::Collection::addAll

function removeAll

bool removeAll(
    Collection c
)

Reimplements: Wombat::Containers::Collection::removeAll

function retainAll

bool retainAll(
    Collection c
)

Reimplements: Wombat::Containers::Collection::retainAll

function clear

void clear()

Reimplements: Wombat::Containers::Collection::clear

function iterator

Iterator iterator()

Reimplements: Wombat::Containers::Iterable::iterator

function Clone

object Clone()

Creates a deep clone of this TreeSet

Return:


Updated on 2023-03-31 at 15:30:18 +0100