Top Constructors Methods
org.eclipse.jetty.util

public Class AsciiLowerCaseSet

extends HashSet<String>
Class Inheritance
Imports
java.util.HashSet

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
add(String
element to be added to this set
s
)

Overrides java.util.HashSet.add.

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

Adds the specified element to this set if it is not already present.
public boolean
contains(Object
element whose presence in this set is to be tested
o
)

Overrides java.util.HashSet.contains.

Implements java.util.Set.contains, java.util.Collection.contains.

Returns true if this set contains the specified element.
Inherited from java.util.HashSet:
clearcloneisEmptyiteratornewHashSetremovesizespliteratortoArraytoArray

Constructor Detail

AsciiLowerCaseSetback to summary
public AsciiLowerCaseSet()

Method Detail

addback to summary
public boolean add(String s)

Overrides java.util.HashSet.add.

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

Doc from java.util.HashSet.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 this 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
s:String

element to be added to this set

Returns:boolean

true if this set did not already contain the specified element

Annotations
@Override
containsback to summary
public boolean contains(Object o)

Overrides java.util.HashSet.contains.

Implements java.util.Set.contains, java.util.Collection.contains.

Doc from java.util.HashSet.contains.

Returns true if this set contains the specified element. More formally, returns true if and only if this set contains an element e such that Objects.equals(o, e).

Parameters
o:Object

element whose presence in this set is to be tested

Returns:boolean

true if this set contains the specified element

Annotations
@Override