Top Constructors Methods
io.undertow.server

pack-priv final Class OverridableTreeSet<T>

extends TreeSet<T>
Class Inheritance
Imports
java.util.TreeSet

Author
Richard Opalka

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public boolean
add(final T
element to be added to this set
o
)

Overrides java.util.TreeSet.add.

Implements java.util.Set.add, java.util.Collection.add.

Adds the specified element to this set if it is not already present.

Inherited from java.util.TreeSet:
addAlladdFirstaddLastceilingclearclonecomparatorcontainsdescendingIteratordescendingSetfirstfloorheadSetheadSethigherisEmptyiteratorlastlowerpollFirstpollLastremovesizespliteratorsubSetsubSettailSettailSet

Constructor Detail

OverridableTreeSetback to summary
pack-priv OverridableTreeSet()

Method Detail

addback to summary
public boolean add(final T o)

Overrides java.util.TreeSet.add.

Implements java.util.Set.add, java.util.Collection.add.

Doc from java.util.TreeSet.add.

Adds the specified element to this set if it is not already present. More formally, adds the specified element e to this set if the set contains no element e2 such that Objects.equals(e, e2). If this set already contains the element, the call leaves the set unchanged and returns false.

Parameters
o:T

element to be added to this set

Returns:boolean

true if this set did not already contain the specified element

Annotations
@Override